You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Theresa Jayne Forster <th...@inbrand.co.uk> on 2011/05/27 16:24:46 UTC

Problem with kerning on a font

I am having problems with fixing the kerning xml file generated with
TTFReader,

 

It has not got the right values for me or ti  I need to therefore find the
correct codes in the font.xml file.

 

But the numbering doesn't make sense? Ie what character is 3?   Ie <kerning
kxp1="3">

Or is there another way to get the correct kerning file?

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer



 


RE: Problem with kerning on a font

Posted by Theresa Jayne Forster <th...@inbrand.co.uk>.
That solved it thanks, 

The main difference in the file I saw was the old file had TYPE0 section at the beginning, so that fixed the kerning problem by getting 1.0 and regenerating the metrics file.


Kindest regards


Theresa Forster
Senior Software Developer

-----Original Message-----
From: Pascal Sancho [mailto:pascal.sancho@takoma.fr] 
Sent: 27 May 2011 16:32
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem with kerning on a font

Hi Theresa,

FOP 0.2x TTFReader was buggy.
You can try to generate metrics files using a TTFReader that comes with
a recent FOP version. Such metrics files should work with older FOP
versions.

I don't remember if FOP 0.2x metrics generation proceeded in the same
way as current FOP version. See [1] if needed.

[1] http://xmlgraphics.apache.org/fop/1.0/fonts.html#truetype-metrics

Le 27/05/2011 16:59, Theresa Jayne Forster a écrit :
> Unfortunately at the moment I am having to use a hacked 0.23 with added
> functionality by a previous programmer. (who left no notes)
> 
> Also the java program calls the fop.exe externally <facepalm/>  
> 
> I cant wait to upgrade to 1.0 :)
> 
> Kindest regards
> 
> 
> Theresa Forster
> Senior Software Developer
-- 
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1375 / Virus Database: 1509/3656 - Release Date: 05/23/11



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Problem with kerning on a font

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi Theresa,

FOP 0.2x TTFReader was buggy.
You can try to generate metrics files using a TTFReader that comes with
a recent FOP version. Such metrics files should work with older FOP
versions.

I don't remember if FOP 0.2x metrics generation proceeded in the same
way as current FOP version. See [1] if needed.

[1] http://xmlgraphics.apache.org/fop/1.0/fonts.html#truetype-metrics

Le 27/05/2011 16:59, Theresa Jayne Forster a écrit :
> Unfortunately at the moment I am having to use a hacked 0.23 with added
> functionality by a previous programmer. (who left no notes)
> 
> Also the java program calls the fop.exe externally <facepalm/>  
> 
> I cant wait to upgrade to 1.0 :)
> 
> Kindest regards
> 
> 
> Theresa Forster
> Senior Software Developer
-- 
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Problem with kerning on a font

Posted by Theresa Jayne Forster <th...@inbrand.co.uk>.
Unfortunately at the moment I am having to use a hacked 0.23 with added
functionality by a previous programmer. (who left no notes)

Also the java program calls the fop.exe externally <facepalm/>  

I cant wait to upgrade to 1.0 :)

Kindest regards


Theresa Forster
Senior Software Developer



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Problem with kerning on a font

Posted by mehdi houshmand <me...@gmail.com>.
Hi Theresa,

I don't know if you're aware of this, but font metrics files are
deprecated as of FOP1.0. So the first question would be what FOP
version are you using? Presumably the font you're using does have the
correct kerning values? Have you checked that?

Mehdi

On 27 May 2011 15:24, Theresa Jayne Forster <th...@inbrand.co.uk> wrote:
> I am having problems with fixing the kerning xml file generated with
> TTFReader,
>
>
>
> It has not got the right values for me or ti  I need to therefore find the
> correct codes in the font.xml file.
>
>
>
> But the numbering doesn’t make sense? Ie what character is 3?   Ie <kerning
> kxp1=”3”>
>
> Or is there another way to get the correct kerning file?
>
>
>
>
>
> Kindest regards
>
>
>
> Theresa Forster
>
> Senior Software Developer
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org