You can do the same with auto-detect. Apparently you do not have the
symbol.ttf file in your system. But you can replace it with other
font, like Arial, the same way:

<font kerning="yes"
embed-url="/usr/share/fonts/truetype/msttcorefonts/Arial.ttf">
    <font-triplet name="Symbol" style="normal" weight="normal"/>
</font>
<auto-detect/>

The name attribute is what you use in the *.fo file.

On Tue, Apr 17, 2012 at 3:31 PM, froglander <kristina.here...@trax.aero> wrote:
>
> So is there no way to leave the auto-detect in there in case someone wants to
> use a random font and just tell FOP to use a different font for Symbol?
>
>
>
> lmpmbernardo wrote:
>>
>> Try to add something like this to the <fonts> element of your
>> renderer. So for PDF that would be the <fonts> element inside
>> <renderer mime="application/pdf">.
>>
>>
>>           <font-triplet name="Arial" style="normal" weight="normal"/>
>>           <font-triplet name="ArialMT" style="normal" weight="normal"/>
>>
>>
>> This with no auto-detect means you get the default FOP Symbol for the
>> bullet, and you get the Ohm from the Arial font configured above. Make
>> sure that the embed-url points to your local Arial.ttf file.
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Fonts-in-config-file-tp33671500p33702176.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>

---------------------------------------------------------------------
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