Thanks a lot for the reply. I checked my version and found out that it's 0.94. 
So, I upgraded to 0.95. Now the SEVERE error changes to a warning:

WARNING: Font 'bold Arial,normal,400' not found. Substituting with 
'any,normal,400'.

Should I install the font myself somewhere? I'm using Eclipse as my IDE.

I also have another question regarding empty table-cell. The following lines:

<fo:table-cell></fo:table-cell>
<fo:table-cell border-right=".6pt solid black"></fo:table-cell>
<fo:table-cell border-right=".6pt solid black" border-bottom=".6pt solid 
black"/>

will produce the following error:

fo:table-cell is missing child elements. 
Required Content Model: marker* (%block;)+

How can I allow empty cells?

Thanks a lot!

Ming



----- Original Message ----
From: Andreas Delmelle <[email protected]>
To: [email protected]
Sent: Friday, August 14, 2009 12:43:24 PM
Subject: Re: font configuration

On 14 Aug 2009, at 14:21, Ming Yu wrote:

Hi Ming

> Hi, I'm trying to make an existing stylesheet to work with my xml file. But 
> it has lines like this:
> 
> <fo:block font="bold 8pt arial"> and <fo:table-cell border-bottom=".6pt solid 
> black">, etc.
> 
> When I compile, the engine complains:
> 
> SEVERE: Ignoring property: font="bold 16pt arial" (No conversion defined 
> bold; property:'font')

Which version are you using exactly. The 'font' shorthand was implemented 
rather late (as of 0.94, IIC).
It should definitely work correctly with 0.95.


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