Utensil's Zettelkasten-style forest of evergreen notes on math and tech. utensil.tngl.sh/forest/
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(render): iter 94 — create extensionless LM OTF symlinks for tectonic XDV native font names

iter 93's OPENTYPEFONTS env didn't move the needle. dvisvgm's
FontManager::registerFont (Font.cpp) calls FileSystem::exists(fname)
with the BARE name from tectonic's XDV cmdXFontDef (no extension —
'lmroman10-italic', not 'lmroman10-italic.otf'). Without an
extension, that literal-name check fails, registerFont returns -1,
and dvisvgm emits an nf-font.

iter 94 creates extensionless symlinks for the 6 LM native fonts:
lmroman10-bold -> lmroman10-bold.otf
lmroman10-italic -> lmroman10-italic.otf
lmroman10-regular -> lmroman10-regular.otf
lmromancaps10-regular -> lmromancaps10-regular.otf
lmromandemi10-regular -> lmromandemi10-regular.otf
lmroman9-regular -> lmroman9-regular.otf

If iter 94 lands, e62c50c (pseudo block) and ag-0018 should both
show the LM small caps + italic + regular + bold fonts instead of
nf2/3/5/7 — operator-visible.

Refs #2

[AGENT: kael]

+13
+13
.tangled/workflows/render.yml
··· 838 838 fi 839 839 done 840 840 echo " ✓ $n targeted font files symlinked into $PWD" 841 + # iter 94 — tectonic emits XDV native font names as BARE FILENAMES 842 + # without extension (e.g. 'lmroman10-italic'). dvisvgm's registerFont 843 + # calls FileSystem::exists(fname) which checks for the literal name; 844 + # no .otf/.ttf auto-append. Create extensionless symlinks pointing 845 + # to the .otf files in PWD so the bare-name lookup succeeds. 846 + for pat in lmroman10-bold lmroman10-italic lmroman10-regular \ 847 + lmromancaps10-regular lmromandemi10-regular \ 848 + lmroman9-regular; do 849 + if [ -e "$PWD/$pat.otf" ] && [ ! -e "$PWD/$pat" ]; then 850 + ln -sf "$pat.otf" "$PWD/$pat" 2>/dev/null && \ 851 + echo " + extensionless: $pat -> $pat.otf" || true 852 + fi 853 + done 841 854 # iter 92 — also tee verification of LM OTF symlinks (these are 842 855 # what tectonic actually emits in XDV as native font names — 843 856 # lmroman10-italic, lmromancaps10-regular, etc.). DVI sample