Hi Daniel, Daniel Rosenberg wrote: > Yes, > > but isn't this characteristics of 'differently sized' fonts there to > optimize readability and aesthetics of a font when typesetted in > different sizes?
You’re right. Those numbers are indeed sizes and correspond to an optimal point size at which the font looks best. Even if, being described in a vectorial format, they can be scaled to any size. I don’t think the way you did will work, although that would be the most desirable one. I believe the only way is to “cheat” by hard-coding the font size in the family name: <font kerning="yes" metrics-file="lmr12.xml" embed-file="lmr12.pfb"> <font-triplet name="LMRoman-12" style="normal" weight="normal"/> </font> In your FO document, you would change the font family in addition to changing the font size: <fo:block font-family="LMRoman-12" font-size="12pt"... That may be an easy change depending on the way you generate your FO files. HTH, Vincent > Scaling works fine, but I guess the result will be > even better if all availabe fonts are utilized? > > / Daniel > > > On Mon, 2007-11-26 at 09:25 +0100, Jeremias Maerki wrote: >> I think you've got that wrong. The numbers behind the font names are not >> sizes. I don't know the English word for the typography term, but in >> this font family: the lower the number, the wider the individual >> characters and the character spacing. >> >> Type 1 fonts are scalable, so you don't need different fonts for >> different sizes. >> >> Jeremias Maerki >> >> >> >> On 25.11.2007 02:17:30 Daniel Rosenberg wrote: >>> Hi, I have another question. The Latin Modern fonts have different >>> versions of different sizes of fonts. Can I utilize this in my >>> generated PDF document? >>> >>> For example, I'd like to include something like >>> >>> <font metrics-file="type1/public/lm/lmr10.xml" kerning="yes" >>> embed-file="type1/public/lm/lmr10.pfb"> >>> <font-triplet name="LMRoman" style="normal" weight="normal"/> >>> </font> >>> <font metrics-file="type1/public/lm/lmr12.xml" kerning="yes" >>> embed-file="type1/public/lm/lmr12.pfb"> >>> <font-triplet name="LMRoman" style="normal" weight="normal"/> >>> </font> >>> <font metrics-file="type1/public/lm/lmr17.xml" kerning="yes" >>> embed-file="type1/public/lm/lmr17.pfb"> >>> <font-triplet name="LMRoman" style="normal" weight="normal"/> >>> </font> >>> >>> in my userconfig.xml and then (in some way) switch between the >>> differently sized fonts. >>> >>> / Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]