You're referencing normal and bold triplets with one font file name. They're normally separate files.
________________________________ From: Peder [mailto:[email protected]] Sent: Tuesday, February 01, 2011 8:26 AM To: [email protected] Subject: Problem regarding font substitution Hi all, I ran across a problem regarding font substitution. I use font 'x' for my main output. Whenever I come across characters which are not included in my font 'x' I want to use the ArialUnicodeMS as catch-all. So on the fo:root element I specified: font-family="ArialUnicodeMS" But now when I come across the following fo:inline <fo:inline font-weight="bold">Kişar Vari</fo:inline> The text does not appear bold in the PDF How come? In my fop configuration I specified the following entry for the ArialUnicodeMS font: <font metrics-url="/location to fonts/ARIALUNI.xml" kerning="true" embed-url="/location to fonts/ARIALUNI.TTF"> <font-triplet name="ArialUnicodeMS" style="normal" weight="normal"/> <font-triplet name="ArialUnicodeMS" style="normal" weight="bold"/> <font-triplet name="ArialUnicodeMS" style="italic" weight="normal"/> <font-triplet name="ArialUnicodeMS" style="italic" weight="bold"/> </font> Do I have to change my configuration? When I run the transformation I receive the following message: WARN Event groupId=org.apache.fop.fonts.FontEventProducer,id=org.apache.fop.fonts.FontEventProducer.fontSubstituted,key=fontSubstituted,params={requested=ArialUnicodeMS,normal,700, effective=ArialUnicodeMS,normal,400} How can I prevent this from happening and get the bolded name? Best regards, Peder
