I'm trying to make a pdf out of a docbook document, from an .fo file
generated with Xalan. I would like to change the body font weight and i
tried to make a font substitution in this way:

<fop version="">
  <fonts>
    <substitutions>
      <substitution>
        <from font-family="Arial" font-weight="normal"/>
        <to font-family="Arial" font-weight="200"/>
      </substitution>
    </substitutions>
  </fonts>
</fop>

The body font family has been set to Arial in docbook style, but the font
substitution is not working for some reason. I also get many warnings that
'sans-serif,normal,300' font is not found, maybe that has something to do
with this problem.

Best regards,
 Jomppa
-- 
View this message in context: 
http://old.nabble.com/Font-substitution-not-working-with-docbook-tp26706893p26706893.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to