Hi, Andreas,

Thanks a lot for the reply. I did try this: font="bold 16pt 'Arial'" and the 
build passed. Thanks for the help and submitting the bug.

Ming



----- Original Message ----
From: Andreas Delmelle <[email protected]>
To: [email protected]
Sent: Wednesday, August 19, 2009 2:25:51 PM
Subject: Re: font configuration

On 17 Aug 2009, at 14:55, Ming Yu wrote:

Hi Ming

> Thanks for the reply. Here is the strange thing.
> 
> When I put the order as font="16pt bold arial", the FO engine gives this 
> warning:
> WARNING: Font 'bold arial,normal,400' not found. Substituting with 
> 'any,normal,400'.
> 
> When I put the order as font="bold 16pt arial" , the FO engine gives the 
> SEVERE error:
> SEVERE: Ignoring property: font="bold 16pt arial" (No conversion defined 
> bold; property:'font')

In the meantime, I have checked closer, and this is indeed a bug, still present 
in FOP Trunk. As soon as you put single quotes around the font-family name, it 
works as expected. This very simple case, I apparently never included in the 
corresponding testcase, as it only checks for lists of font-families or quoted 
names with spaces... If I amend the testcase, the build fails. I have logged 
Bugzilla 47709 for follow-up[*].

Seems that at the time, I was too focused on making font-family lists work 
correctly, and forgot to check the most simple cases. :-/

[*] http://issues.apache.org/bugzilla/show_bug.cgi?id=47709



Regards,

Andreas Delmelle
mailto:andreas.delmelle.AT.telenet.be
jabber: [email protected]
skype: adlm0608

---


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


      

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

Reply via email to