Re: Using Just the Font Metrics Stuff From FOP

2004-01-09 Thread Chris Bowditch
Glen Mazza wrote: Yes, an explanation in Bugzilla on what the patches are for (I haven't been following the thread, and if it takes some weeks to be applied, no one will remember what they're for.) You're welcome to provide a link to the FOP archives to cut down on re-typing. Ok - Ive added

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Chris Bowditch
Eliot Kimber wrote: Since the OpenType font metrics wouldn't include the kerning I don't know if it would be useful for full FOP, but it should be sufficient to allow basic font metrics for CFF OpenType fonts. Sounds good, i'm sure it will be useful for FOP even within kerning. I haven't had a

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Clay Leeds
Eliot (mostly), On Jan 8, 2004, at 1:24 AM, Chris Bowditch wrote: Eliot Kimber wrote: Since the OpenType font metrics wouldn't include the kerning I don't know if it would be useful for full FOP, but it should be sufficient to allow basic font metrics for CFF OpenType fonts. Sounds good, i'm

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Clay Leeds
Sorry about the fragment at the end of the main paragraph I wrote below (darned TouchPad on my laptop is too sensitive... erm.. and I wasn't paying close enough attention). Anyway, I don't have anything to add... On Jan 8, 2004, at 6:50 AM, Clay Leeds wrote: Eliot Kimber wrote: I haven't had a

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Eliot Kimber
Chris Bowditch wrote: Eliot Kimber wrote: Since the OpenType font metrics wouldn't include the kerning I don't know if it would be useful for full FOP, but it should be sufficient to allow basic font metrics for CFF OpenType fonts. Sounds good, i'm sure it will be useful for FOP even within

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Clay Leeds
From man diff SYNOPSIS diff [options] from-file to-file .. OPTIONS .. -u Use the unified output format. The command I use to generate a unified diff is: diff -u from-file to-file I'm guessing (as I'm no CVS or diff expert!) you'll have to do this for each file unless you

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Eliot Kimber
Clay Leeds wrote: It's just a thought (and I'm not trying to look a gift-horse in the mouth! :-)), but perhaps you could work with those working on the HEAD branch, to make a unified diff for all changed file against HEAD. It appears that the relevant files are identical in the HEAD and maint

RE: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Andreas L. Delmelle
-Original Message- From: Eliot Kimber [mailto:[EMAIL PROTECTED] snip / It appears that the relevant files are identical in the HEAD and maint branches. Could be... After all, fonts were next on the redesign schedule. It definitely will not hurt to enter the patch anyway. Just to

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Eliot Kimber
Eliot Kimber wrote: Clay Leeds wrote: It's just a thought (and I'm not trying to look a gift-horse in the mouth! :-)), but perhaps you could work with those working on the HEAD branch, to make a unified diff for all changed file against HEAD. It appears that the relevant files are identical

RE: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Andreas L. Delmelle
-Original Message- From: Eliot Kimber [mailto:[EMAIL PROTECTED] snip / Doh! It appears that I was developing against the head and not the maint branch--not sure how that happened. Did you run the diff w/o using any tags in particular? IIC if you don't, cvs runs a diff against the

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Eliot Kimber
Eliot Kimber wrote: Doh! It appears that I was developing against the head and not the maint branch--not sure how that happened. I'm looking now to see if my head code can be quickly retrofitted to the maint branch. Ok, I was able to patch the maint files as well (for real this time) and both

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Eliot Kimber
Eliot Kimber wrote: Ok, I was able to patch the maint files as well (for real this time) and both it and the head seem to work fine, which I would expect since all my code really does is not read a couple of tables if the font is OpenType CFF. I will prepare diffs forthwith. Ok, I have

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Glen Mazza
--- Eliot Kimber [EMAIL PROTECTED] wrote: Let me know if you need more from me on these patches. Cheers, Eliot Yes, an explanation in Bugzilla on what the patches are for (I haven't been following the thread, and if it takes some weeks to be applied, no one will remember what they're

Re: Using Just the Font Metrics Stuff From FOP

2004-01-07 Thread Jeremias Maerki
The OpenType reader code is in TTFReader. OpenType is an evolution of TrueType. Maybe you could try to use the TTFReader from 0.20.5. The HEAD TTFReader should be at least equal in functionality but I can't be sure we got all fixes for 0.20.5 into HEAD already. Good luck! On 07.01.2004 02:12:38

Re: Using Just the Font Metrics Stuff From FOP

2004-01-07 Thread Eliot Kimber
Jeremias Maerki wrote: The OpenType reader code is in TTFReader. OpenType is an evolution of TrueType. Maybe you could try to use the TTFReader from 0.20.5. The HEAD TTFReader should be at least equal in functionality but I can't be sure we got all fixes for 0.20.5 into HEAD already. Cool--what

Re: Using Just the Font Metrics Stuff From FOP

2004-01-07 Thread Chris Bowditch
Eliot Kimber wrote: snip/ Cool--what tag do I use to checkout the 0.20.5? I'm not sure I completely understood what the FOP CVS information was telling me. The tag you need is: fop-0_20_2-maintain Chris

RE: Using Just the Font Metrics Stuff From FOP

2004-01-06 Thread Andreas L. Delmelle
-Original Message- From: Eliot Kimber [mailto:[EMAIL PROTECTED] snip / I think where I'm stuck is on what code actually takes a font and generates a metrics file from it. I've traced down to where the XML font metrics files are loaded but it appears that the font metrics files just

RE: Using Just the Font Metrics Stuff From FOP

2004-01-06 Thread Andreas L. Delmelle
-Original Message- From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] snip / I think the explanation of registering the fonts contains just Ahem... incorrect estimate. More like --well, the metrics stuff :) Cheers, Andreas

Re: Using Just the Font Metrics Stuff From FOP

2004-01-06 Thread Eliot Kimber
Andreas L. Delmelle wrote: Hope this helps! It did. If I understand what AWTFontMetrics is doing, I can just use that class directly, or adapt that code for more standalone use. I will explore that route. Thanks, Eliot -- W. Eliot Kimber Professional Services Innodata Isogen 9030 Research

Re: Using Just the Font Metrics Stuff From FOP

2004-01-06 Thread J.Pietschmann
Eliot Kimber wrote: Here's my problem: during XSLT processing to generate FO instances I need to be able to make a reasonable guess as to the rendered length of a given string so that I can do some simple automatic copy fitting, such as setting the list label width to fit the longest item in a

Re: Using Just the Font Metrics Stuff From FOP

2004-01-06 Thread Eliot Kimber
Eliot Kimber wrote: Andreas L. Delmelle wrote: Hope this helps! It did. If I understand what AWTFontMetrics is doing, I can just use that class directly, or adapt that code for more standalone use. I will explore that route. This turned out to be much easier than I realized, at least for

Re: Using Just the Font Metrics Stuff From FOP

2004-01-06 Thread Eliot Kimber
Eliot Kimber wrote: include all the TrueType fonts. It appears that Java 1.4 includes OpenType support but 1.4 is not an option for me at the moment. I tried the TTFReader on my OpenType font and it died in ReadGlyf() :-( I see in a message from Victor Mote from July of 2003 that he had an