On 2015-07-06 Paul Grosso wrote:
>
>   Font "Stempel Garamond LT Std,normal,700" not found.
>   Substituting with "Stempel Garamond LT Std,normal,400".
>   Font "Gill Sans Std,normal,700" not found.
>   Substituting with "Gill Sans Std,normal,400".

In auto-detection font names are taken directly from font info which may
return different names for different styles, so you cannot use simply your
font name with bold font-weight, but a dedicated font name instead.

You can try opening the font cache (on Windows
%UserProfile%\.fop\fop-fonts.cache ) in any text editor and try to search
for your font name. It is surrounded with binary data, but you can guess the
name which FOP expect.

For Frutiger in my case I have to specify 4 different styles:
FrutigerLT-Light
FrutigerLT-LightItalic
FrutigerLT-Bold
FrutigerLT-BoldItalic

e.g. this way...
<fo:root
font-family="FrutigerLT-Light,FrutigerLT-LightItalic,FrutigerLT-Bold,
FrutigerLT-BoldItalic">


HTH, Jan

<<attachment: winmail.dat>>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to