[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defining the script sizes via font dimens



Thierry Bouche wrote:
> Is there also a mechanism that could allow to give default \fontdimen
> for fonts that could miss them (without overriding the existing ones)
> i think of afm2tfm generated tfm's...

IIRC you can do \fontdimen21=0pt immediately after loading the font.
This will make sure that all \fontdimen's up to 21 are present and will
initialize the ones  not present in the \font to 0pt. You can then set
the \fontdimens you are interested in to a default value if their value is
0pt. This will of course only work if the value 0pt is not a meaningful
value for the \fontdimen in question. 

Regards, Matthias