You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PDF export emits one link annotation per glyph for wrapped links (regression after v1.1.23; breaks Native PDF CI) #2803
moli fetch --resource --layout --wait-until load --dump pdf http://127.0.0.1:8000/index.html > out.pdf
uv run --no-project --with pymupdf python -c "import pymupdf,sys; d=pymupdf.open('out.pdf'); print([tuple(round(v,1) for v in l['from']) for l in d[0].get_links()])"
Expected
One link annotation per line box of the link, which is what v1.1.23 produces and what check-native-pdf.py asserts:
In CI, the same fixture embedded in the full test page produces many ~3.5 pt wide rects instead of 2.
Root cause
Not bisected yet. The change lies between v1.1.23 and cbf4d0149f. The most likely suspects are the recent inline paint and hit-test commits, which change how inline boxes and their fragments are emitted:
0165b5b94c fix(layout): hit-test atomic inlines in front of wrapping inline boxes
Fixed on main by 05ea642 ("fix(pdf): deduplicate link regions independently of paint order"). #2771 and #2772 are being updated to current main so their "Native PDF rendering and links" job reruns and confirms it.
Activity
lanyue-llk commentedon Nov 12, 2026
Fixed on
mainby 05ea642 ("fix(pdf): deduplicate link regions independently of paint order"). #2771 and #2772 are being updated to currentmainso their "Native PDF rendering and links" job reruns and confirms it.