Thanks for the info.

I've now configured my FOP configuration file as

<fonts>
  <!-- automatically detect operating system installed fonts -->
  <auto-detect/>  
</fonts>

In my xsl, I'm setting font-family="'LeHei Pro'" where 'LeHei Pro' is the
System Font in Chinese collection.
When I run this through FOP processor (0.94), resulting PDF file contains
sequences of # where I'm expecting chinese characters. Is this because FOP
is not able to locate this font? Any help in this regard is appreciated.


Jeremias Maerki-2 wrote:
> 
> Forget PFMReader! It's not needed anymore in most cases and is just kept
> for backwards compatibilities and emergencies. You also won't need an
> AFMReader. Since FOP 0.94 the XML font metrics files are not needed
> anymore in 99% of the cases. Just ignore everything on the fonts page
> below the section header "Advanced font configuration".
> 
> On 26.03.2008 10:23:00 xsltuser wrote:
>> 
>> 
>> There is a note at the link
>> http://xmlgraphics.apache.org/fop/0.95/fonts.html
>> saying 'The PFMReader tool does not yet interpret PFB or AFM files, so if
>> you want to be correct, you may have to adjust the values in the XML file
>> manually.'
>> 
>> Can you please give some more insight into this? 
>> There are only two readers available in fop.jar namely PFMReader and
>> TTFReader respectively for pfm and ttf font files. Can PFMReader be used
>> for
>> AFM files as well? Please clarify.
>> 
>> 
>> Jeremias Maerki-2 wrote:
>> > 
>> > Yes. FOP 0.95beta which should be available for download by now
>> supports
>> > AFM files. Since FOP 0.94 it isn't necessary anymore in most cases to
>> > produce the XML font metrics files. See the updated page on font
>> > configuration for details:
>> > http://xmlgraphics.apache.org/fop/0.95/fonts.html
>> > 
>> > On 26.03.2008 06:35:22 xsltuser wrote:
>> >> 
>> >> 
>> >> Can FOP be configured to take a different metrics format e.g. Adobe
>> AFM? 
>> >> -- 
>> >> View this message in context:
>> >> http://www.nabble.com/Metrics-Format-tp16295993p16295993.html
>> >> Sent from the FOP - Users mailing list archive at Nabble.com.
>> > 
>> > 
>> > 
>> > 
>> > Jeremias Maerki
>> > 
>> > 
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> > 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Metrics-Format-tp16295993p16297919.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>> 
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Metrics-Format-tp16295993p16299641.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to