Adam Lindsay wrote:
Hans, Taco, all,
Parallel to Taco's mathfontdump, this morning I ran into a problem trying to reassign a fontdimen of a font invoked using ConTeXt's typescript system. If I try it before a \setupbodyfont, it doesn't recognise the font identifier, and if I try it afterwards, I run into a \reactivatefont mess.
The key line in the attached file appears commented out twice: \fontdimen7\csname*new12ptmmmi*\endcsname=0pt
(I'm trying to work on some better math support for some other fonts, and trying it this way first, before hacking into a tfm.)
The prime question is, is there something higher-level and "obvious" that I'm missing, or does it mean tearing into font-ini?
we can consider to add 'improvements' to math dimensions in a similar way as protruding and hz, i.e. as a handling; that way they get set at definition time automatically
anyhow, the solution for your hackery is:
\definetypeface[new][rm][serif][times][default][encoding=texnansi] \definetypeface[new][mm][math][times][default]
\setupbodyfont[new]
{\csname*new12ptmmmi*\endcsname \fontdimen7\font=1pt}\starttext
7=\the\fontdimen7\csname*new12ptmmmi*\endcsname\par
\stoptext
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
