W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2008

Re: Fonts in Linux environment

From: Ashish Baijal <abaijal@gmail.com>
Date: Thu, 11 Dec 2008 16:04:42 -0500
Message-ID: <d091745d0812111304q4479f38dgdfe8059aaa7467bf@mail.gmail.com>
To: www-xsl-fo@w3.org
The solution that I found

1) Moved the ttf files into classpath.
2) Created the metric files using
java -cp
org.apache.fop.fonts.apps.TTFReader -enc ansi Arial.ttf Arial.xml

3)Made my base directory and font directory same. Both containing the xml
and ttf file.

I dont know what part was required or could have been done away but as of
now PDF generation with embedded font is working.

Thanks for help everyone

On Tue, Dec 2, 2008 at 4:17 PM, Patil, Pradnya <Pradnya.Patil@ca.com> wrote:

>  I am sorry, this is not an answer, but a related question about
> generating pdf files containing Japanese characters on a Linux platform.
> On Windows I use the configuration file to point to MSMincho.ttf, and
> specify MSMincho as the font-family in the xsl. This generates a pdf file
> with embedded MSMincho font, so that Japanese characters are displayed
> correctly.
> Which font can be used on Linux for displaying Japanese characters?
> Thank you,
> -Pradnya Patil
Received on Thursday, 11 December 2008 21:05:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:32 UTC