Re: Table columns with custom font incorrectly aligned

2003-12-17 Thread Chris Bowditch
Dennis Myrén wrote:
snip/
I used the PFMReader utility to generate XML metrics files from these 3 
different font metrics files (PFM files).
snip/
My problem is, the columns are not properly aligned, a right aligned 
column gets to look something like this:
snip/
I tested with a base 14 font, no problems.
Could it be that the generated font metrics is incorrect?
Yes, I believe the current PFMReader ignores the PFB file which has some 
 parts of the font metrics in them.

Chris

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


RE: RE: Table columns with custom font incorrectly aligned

2003-12-17 Thread Dennis Myrén
 Could it be that the generated font metrics is incorrect?

 Yes, I believe the current PFMReader ignores the PFB file which has some 
 parts of the font metrics in them.

Ok.
Is there any workaround? Any advises?

Thank you.

Regards,
Dennis JD Myrén
Developer
Oslo Kode Bureau
Tel:  (+47) 98 00 11 92
Mail:   [EMAIL PROTECTED]
Web:   www.oslokb.no

-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: 17. desember 2003 12:11
To: [EMAIL PROTECTED]
Subject: Re: Table columns with custom font incorrectly aligned

Dennis Myrén wrote:

snip/

 I used the PFMReader utility to generate XML metrics files from these 3 
 different font metrics files (PFM files).

snip/

 My problem is, the columns are not properly aligned, a right aligned 
 column gets to look something like this:

snip/

 I tested with a base 14 font, no problems.
 
 Could it be that the generated font metrics is incorrect?

Yes, I believe the current PFMReader ignores the PFB file which has some 
  parts of the font metrics in them.

Chris



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




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



Re: Table columns with custom font incorrectly aligned

2003-12-17 Thread Jeremias Maerki
Nope. You're confusing things, I'm afraid. It's correct that some metric
information needed by FOP is not present in PFM files, only in PFB (but
which are currently not parsed). The problem here is most probably
kerning. We've had that problem before. I just can't find the right
thread right now. I think Jörg had an explanation (but I don't remember
it). I used to propose to manually remove the kerning elements in the
generated XML font metric file. This disables kerning for this font but
normally solves the alignment problem.

On 17.12.2003 12:10:36 Chris Bowditch wrote:
  Could it be that the generated font metrics is incorrect?
 
 Yes, I believe the current PFMReader ignores the PFB file which has some 
   parts of the font metrics in them.

Jeremias Maerki


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



RE: Table columns with custom font incorrectly aligned

2003-12-17 Thread Dennis Myrén
I used to propose to manually remove the kerning elements in the generated 
XML font metric file. This disables kerning for this font but normally 
solves the alignment problem.

I like that proposal.
Works like a charm.

Thank you!


Regards,
Dennis JD Myrén
Developer
Oslo Kode Bureau
Tel:  (+47) 98 00 11 92
Mail:   [EMAIL PROTECTED]
Web:   www.oslokb.no

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Sent: 17. desember 2003 13:09
To: [EMAIL PROTECTED]
Subject: Re: Table columns with custom font incorrectly aligned

Nope. You're confusing things, I'm afraid. It's correct that some metric
information needed by FOP is not present in PFM files, only in PFB (but
which are currently not parsed). The problem here is most probably
kerning. We've had that problem before. I just can't find the right
thread right now. I think Jörg had an explanation (but I don't remember
it). I used to propose to manually remove the kerning elements in the
generated XML font metric file. This disables kerning for this font but
normally solves the alignment problem.

On 17.12.2003 12:10:36 Chris Bowditch wrote:
  Could it be that the generated font metrics is incorrect?
 
 Yes, I believe the current PFMReader ignores the PFB file which has some 
   parts of the font metrics in them.

Jeremias Maerki


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




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