Hi,

You can find howto add your own fonts at http://xml.apache.org/fop/fonts.html.
This can be summed up as follows:
1. get font files (type 1 or true type)
2. make metric file (using either PFMReader or TTFReader)
3. make your own config file
4. enjoy!

Pascal
 

> -----Message d'origine-----
> De : Arun Sinha [mailto:[EMAIL PROTECTED] 
> Envoyé : vendredi 11 février 2005 08:20
> You may need the following too.
> 
> Register Fonts with FOP
> You must tell FOP how to find and use the font metrics files 
> by registering them in the FOP Configuration. Add entries for 
> your custom fonts, regardless of font type, to the 
> configuration file in a manner similar to the
> following:
> 
> <font metrics-file="FTL_____.xml" kerning="yes"
>       embed-file="C:\myfonts\FTL_____.pfb">
>   <font-triplet name="FrutigerLight" style="normal" 
> weight="normal"/> </font>
> 
> Change the values above as per your requirement.
> 
> >From: Manisha Sathe <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?
> >Date: Thu, 10 Feb 2005 23:13:43 -0800 (PST)
> >
> >it's giving me 'unknown font' for both. is there any way for it ? 
> >Whether it means that on my m/c need to have these fonts ?
> >
> >Arun Sinha <[EMAIL PROTECTED]> wrote:
> >
> >Try setting font family to "MS Hei" or "MS Song".
> >
> > >From: Manisha Sathe
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: Whether Chinese Characters / Unicode 
> supported by FOP ?
> > >Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)
> > >
> > >i want to display some chinese characters. I am trying following
> >unicodes.
> > >These get display in HTML properly. But in pdf i do not get these 
> > >characters.
> > >
> > >I tried many different fonts but still the same. Which 
> font shall i 
> > >make use off ?


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

Reply via email to