Hi,

simply using the font-family attribute on the fo:root element.

Note that all inherited properties can be set on fo:root element, so
you can set your own default properties there, including font-family.

2012/12/20 Stefan Hinz <stefan.h...@oracle.com>:
> Hi Bernardo,
>
> That's good advice, thanks! How would you specify a global font family in
> the FO root element, though?
>
> Cheers,
>
> Stefan
>
>
>
> On 20.12.2012 01:45, Luis Bernardo wrote:
>>
>>
>> This is of no consequence although is it puzzling at first. If you
>> specify a global font-family in the fo root element I think the warning
>> goes away. I think what you are seeing has been discussed here:
>>
>> http://apache-fop.1065347.n5.nabble.com/ZapfDingbats-and-Symbol-not-found-whereas-they-are-not-needed-td31330.html
>>
>>
>> On 12/19/12 11:05 PM, Alexey Neyman wrote:
>>>
>>> Hi all,
>>>
>>> I see the following warning message reported by FOP:
>>>
>>> $ fop -c fop.cfg -dpi 150 apiguide.fo apiguide.pdf
>>> Dec 19, 2012 2:59:02 PM org.apache.fop.events.LoggingEventListener
>>> processEvent
>>> WARNING: Font "Serif,normal,400" not found. Substituting with
>>> "any,normal,400".
>>> ...
>>>
>>> However, apiguide.fo does not contain any references to 'serif' font:
>>>
>>> $ grep -i serif apiguide.fo
>>> $
>>>
>>> Why does FOP need 'Serif' font? Is there some built-in expectation that
>>> 'Serif' font must be always available?
>>>
>>> Regards,
>>> Alexey.
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>
>
> --
> Cheers,
>
> Stefan Hinz <stefan.h...@oracle.com>, MySQL Documentation Manager
>
> Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc
>
> ORACLE Deutschland B.V.&  Co. KG
> Registered Office: Riesstr. 25, 80992 Muenchen, Germany
> Commercial Register: Local Court Of Munich, HRA 95603
> Managing Director: Jürgen Kunz
>
> General Partner: ORACLE Deutschland Verwaltung B.V.
> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
> Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
> Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>



-- 
pascal

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