xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Problem generating PDF with FOP 0.20.5 and Latin Modern fonts
Date Mon, 26 Nov 2007 08:25:16 GMT
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message