xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Onur Senturk" <onursent...@gmail.com>
Subject Re: Turkish character support
Date Sun, 10 Sep 2006 12:05:03 GMT
I did try that too. I converted the ttf file to xml but, what do i have to
do next? i copied the xml file to the conf directory, but nothing seemed to
have changed.

On 9/10/06, Jeremias Maerki <dev@jeremias-maerki.ch> wrote:
>
> Oh, great. I just realized we all failed to see the obvious:
>
> Onur, you're trying to create a font metrics XML file from a TrueType
> font (.ttf) but you're calling the PFMReader to do that. You need to use
> the TTFReader! PFMReader is for the .pfm files of a Type 1 font.
>
> On 31.08.2006 18:16:34 Onur Senturk wrote:
> > I looked at the FOP website and tried to figure things out. The first
> thing
> > i tried was to generate an xml file from a true type font(times new
> roman).
> > But i couldn't. How am i supposed to generate it?
> >
> > i coded something like this first:
> >
> > PFMReader df = *new* PFMReader();
> ^^^^^^^^
> >
> > df.constructFontXML(df.loadPFM
> > ("c:\\times.ttf"),"TimesNewRoman","","","c:\\times.xml");
>            ^^^^^^^^
>
> <snip/>
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>


-- 
Onur Şentürk
Mime
View raw message