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

Re: defining the script sizes via font dimens

Frank Mittelbach wrote:

> they script sizes scale to a certain extend but they don't scale
> linearily. so i doubt that this is of much value especially since NFSS
> does support the declaration of such sizes explicitly and if not
> declared already uses a fallback procedure that essentially calculates
> those values.

... but the calculation  *does* establish a linear relation between the 
three sizes. The size don't have to scale linear with the new system,
since the appropriate sizes can be specified separately for each 
body size (the scaling of font dimensions is only relevant if you
load a font 'at' a different size). For the prototype 
implementation, I have just put the values from fontmath.ltx's
\DeclareMathSizes statements into the fonts. 

The difference to the current interface is that with the new system, the font
designer can specify the defaults and they can vary between different fonts. 
With the current system, you have to load a style file to override LaTeX's
defaults, if they are not appropriate. The new interface still allows you to
override the defaults with an explicit \DeclareMathSizes. 

> For serious book production i think you need to be able to set these
> values explicitly depending on the leading and the body fontsize you
> use etc. thus adding another interface that gives you defaults (on a
> good day) doesn't seem to me worth the effort.

Sad to here this, as I have already put some effort into it. How come
it is in the YAASP proposal, if it is useless ?

Regards, Matthias