"Lars Hellström" <[email protected]> writes: > But if it's the same snippet of code for all fonts in the family, then you > can just put it in the \DeclareFontFamily argument instead: > > \DeclareFontFamily{T1}{erewhon-OsF}{% > \providecommand{\erewhon@sf}{}\erewhon@sf > } > > Slightly shortens your FD file. You only need to put it in the > \DeclareFontShape if some part of it is different for different fonts in the > family (e.g. the scaling of the fontdimen additionally is different for > different series, and the \erewhon@sf takes an argument that somehow adjusts > this).
Ah, thanks for this. I had the impression that such snippets must go into \DeclareFontShape -- \DeclareFontFamily is much easier and clearer. Many thanks for your time. Best, Arash
