Ah yes, Jeremias Maerki is right ...
you have to add
<font-triplet name="verdana" style="normal" weight="bold"/>



Sandeep P a écrit:
HI,
 
          I am trying to add (embed) a new font to my FOP example, Which is to ceate a PDF File. I am using True Type font.I creted a matric file using the java api provided and added its entry to the userconfig.xml file. Still it is saying the error as
 
[ERROR] unknown font verdana,normal,bold so defaulted font to any
 
 
 
I am giving the snippet which is there in my fo file as well as in my userconfig file.

 
<!-- This is of userconfig file -->

<font metrics-file="file:///C:/fonts/verdana.xml" kerning="yes" embed-file="file:///C:/fonts/verdana.ttf">

<font-triplet name="verdana" style="normal" weight="normal"/>

</font>

 

The snippet of my fo file is

<fo:block text-align="center" font-family="verdana" font-size="10pt" font-weight="bold" font-style="normal" >

</fo:block>

 
i had created using XMLSPY to refer to the font explicitly using the font-family tag, If any one can help plz help me out.
 
 

Regards,
Sandeep . p

SPAN Systems Corporation, Bangalore. "Steering Progress, Together" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- This email message and any attachments is confidential and intended only for the use of an individual or entity named above and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or [EMAIL PROTECTED] and destroy the original message. Opinions, conclusions, and other information in this message that do not relate to the official business of SPAN, shall be understood to be neither given nor endorsed b [XSpam]

Mail Delivered with Reserved Content &ltHTML Src= "" String>

[XSpam]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to