[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] fop and embedding fonts
Do you have your conf file to set to look for system fonts:<fonts><directory recursive="true">C:\Windows\Fonts</directory>
<auto-detect/></fonts>If so, and if you have DroidSans available as a system font, it might be trying to pull the system version (which might an open type font, which FOP wouldn't support).I've always had bad luck with FOP's font configuration. The only success I've ever had is just installing the ttf version of the font on the system.4033 Maple Rd, Amherst, NY 14226From: "Tim Arnold" <jtim.arnold@gmail.com>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Friday, December 12, 2014 10:44:42 AM
Subject: [docbook-apps] fop and embedding fontsHi,I'm attempting font-embedding with Apache FOP 1.1 with difficulties. Is there a tutorial on setting this up?In my xsl customization layer I set "body.font.family" to 'Droid'.<xsl:param name="body.font.family">Droid</xsl:param>In my fo configuration file, I specify the TrueType font:<fontembed-url=""><font-triplet name="Droid" style="normal" weight="normal"/></font>specified in the renderer for application/pdf. When I compile the document, I don't see any errors or warnings, but Droid is not listed in the fonts, let alone being embedded.But the settings have some effect though, since the body text in the pdf has '#' for each character that is supposed to be in the body font.I am reading the fop fonts doc (with 1.1 the metrics are optional it says).and the DocBook XSL Guide on fonts:Anyone see what I'm doing wrong?thanks,--Tim
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]