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 87 — add CM fonts + rm-lm* VF shims to targeted symlink list (the actual lookup path dvisvgm uses)

iter 86 was the breakthrough: kpsewhich could NOT find ANY font in our setup
(including lmr10.pfb which renders fine in production). That means dvisvgm
isn't using kpathsea/TEXMF lookup at all at runtime — it reads from
PWD (cwd) where the iter-58/59 targeted symlink list places SPECIFIC font
files. Everything we added to FOREST_TEX_DIR / FOREST_TEXMF / psfonts.map /
ls-R was IRRELEVANT.

The targeted symlink list hand-curated which fonts get symlinked from
FOREST_TEX_DIR into forester's MAIN cwd $PWD. Missing from the list:
cmcsc10, cmti10, cmr10/7, cmbx10, cmmi10/7, cmsy10/7, plus the rm-lm* VF
shim TFMs that dvisvgm tries to load for the LM-rep fallback chain.

Adding all of them now. If iter 87 lands, ag-0018 should switch from
nf2/3/5/7 -> cmcsc10/cmti10 (and the operator sees the overlap go away
in their browser).

Refs #2

[AGENT: kael]

+18 -1
+18 -1
.tangled/workflows/render.yml
··· 787 787 pxmia.pfb pxsy.pfb pxsya.pfb pxsyb.pfb pxsyc.pfb \ 788 788 pxex.pfb pxexa.pfb \ 789 789 rpxb.pfb rpxbi.pfb rpxbmi.pfb rpxbmia.pfb \ 790 - rpxr.pfb rpxi.pfb rpxbsl.pfb rpxsl.pfb; do 790 + rpxr.pfb rpxi.pfb rpxbsl.pfb rpxsl.pfb \ 791 + cmcsc10.pfb cmcsc10.tfm \ 792 + cmti10.pfb cmti10.tfm \ 793 + cmr10.pfb cmr10.tfm cmr7.pfb cmr7.tfm \ 794 + cmbx10.pfb cmbx10.tfm \ 795 + cmmi10.pfb cmmi10.tfm cmmi7.pfb cmmi7.tfm \ 796 + cmsy10.pfb cmsy10.tfm cmsy7.pfb cmsy7.tfm \ 797 + rm-lmb10.tfm rm-lmbo10.tfm rm-lmbx10.tfm \ 798 + rm-lmr10.tfm rm-lmr5.tfm rm-lmr6.tfm rm-lmr7.tfm rm-lmr8.tfm rm-lmr9.tfm \ 799 + rm-lmri10.tfm rm-lmri7.tfm rm-lmri12.tfm \ 800 + rm-lmbx5.tfm rm-lmbx6.tfm rm-lmbx7.tfm rm-lmbx8.tfm rm-lmbx9.tfm rm-lmbx12.tfm; do 801 + # iter 87 — add CM Type1 fonts (cmcsc10/cmti10/cmr10/cmbx10/etc.) 802 + # and rm-lm* VF shim TFMs to the targeted symlink list. 803 + # kpsewhich diagnosis (iter 86) showed kpathsea couldn't 804 + # find ANYTHING (even lmr10.pfb which renders fine), so 805 + # dvisvgm's runtime font lookup goes through $PWD (cwd), 806 + # not kpathsea. The previous list pulled in lm fonts but 807 + # not their cm aliases or the rm-* VF shims. Adding them. 791 808 # iter 65 added NewPX*/NewTX*/ntx* PFBs but they regressed 792 809 # the same 4 trees (21bc037, 2330c77, 5d08d7c, e62c50c) to 793 810 # placeholders via the iter-58 substr crash pattern.