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 lin

Re: Using Just the Font Metrics Stuff From FOP

2004-01-09 Thread Chris Bowditch
Eliot Kimber wrote: Ok, I have submitted bugs 25997 and 25999 with my patches to the maintenance and development branches. I tested this code by running both braches against my CFF OpenType font and a TTF font on my machine and inspecting the generated XML files. Let me know if you need more f

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: 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 submitt

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 i

RE: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Andreas L. Delmelle
> -Original Message- > From: Eliot Kimber [mailto:[EMAIL PROTECTED] > > 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 last

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] > > > 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 g

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 Clay Leeds
for each file unless you somehow can have the from-file and to-file point to directories instead. I hope this helps! Web Maestro Clay On Jan 8, 2004, at 8:08 AM, Eliot Kimber wrote: Chris Bowditch wrote: Eliot Kimber wrote: Since the OpenType font metrics wouldn't include the kernin

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

Re: Using Just the Font Metrics Stuff From FOP

2004-01-08 Thread Clay Leeds
en't had a chance yet to test this with the XML font data-based font metrics because it's the end of the day and now I can't find the font metrics class that would apply (as opposed to the AWTFontMetrics class). Let me know if I should provide patches to someone. I used the 0.20

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

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.

Re: Using Just the Font Metrics Stuff From FOP

2004-01-07 Thread Eliot Kimber
I can generate a font metrics file (without kerning info) for my CFF-based OpenType font. 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. I haven

Re: Using Just the Font Metrics Stuff From FOP

2004-01-07 Thread Chris Bowditch
Eliot Kimber wrote: 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-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 ta

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 E

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 Ope

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 n

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 d

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 Bl

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] > > 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 Andreas L. Delmelle
> -Original Message- > From: Eliot Kimber [mailto:[EMAIL PROTECTED] > > 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

Using Just the Font Metrics Stuff From FOP

2004-01-06 Thread Eliot Kimber
e current development version of FOP but I'm having a hard time figuring out exactly what bits are involved. 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 appe

DO NOT REPLY [Bug 14319] - Three problems in custom font metrics-file and embed-file value

2002-11-21 Thread bugzilla
gzilla/show_bug.cgi?id=14319 Three problems in custom font metrics-file and embed-file value [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RE

DO NOT REPLY [Bug 14319] - Three problems in custom font metrics-file and embed-file value

2002-11-21 Thread bugzilla
gzilla/show_bug.cgi?id=14319 Three problems in custom font metrics-file and embed-file value [EMAIL PROTECTED] changed: What|Removed |Added CC||

DO NOT REPLY [Bug 14319] - Three problems in custom font metrics-file and embed-file value

2002-11-21 Thread bugzilla
gzilla/show_bug.cgi?id=14319 Three problems in custom font metrics-file and embed-file value [EMAIL PROTECTED] changed: What|Removed |Added CC||

DO NOT REPLY [Bug 928] - Font metrics and setComponent

2002-11-13 Thread bugzilla
gzilla/show_bug.cgi?id=928 Font metrics and setComponent [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Pr

DO NOT REPLY [Bug 14319] New: - Three problems in custom font metrics-file and embed-file value

2002-11-06 Thread bugzilla
gzilla/show_bug.cgi?id=14319 Three problems in custom font metrics-file and embed-file value Summary: Three problems in custom font metrics-file and embed- file value Product: Fop Version: 0.20.4 Platform: All OS/Versio

Re: Font Metrics AWT

2002-05-21 Thread Jeremias Maerki
> At 05:15 PM 5/19/02, you wrote: > >There may be still an issue about the actual vertical > >position of an overline. > > Yes, I expect so; since java.awt.Font contains no specification > for where to put the underline (as I pointed out in my code comments.) > Unfortunately my word processor doe

Re: Font Metrics AWT

2002-05-21 Thread Ralph LaChance
At 05:15 PM 5/19/02, you wrote: >There may be still an issue about the actual vertical >position of an overline. Yes, I expect so; since java.awt.Font contains no specification for where to put the underline (as I pointed out in my code comments.) Unfortunately my word processor doesn't know abou

Re: Font Metrics AWT

2002-05-20 Thread Ralph LaChance
At 05:18 PM 5/19/02, you wrote: >Oh my. I seem to have been too fast on this, maybe. Anyway, I'm going to >bed now. Well, in my opinion, the previous change ~should~ be committed as you did, since what we had was clearly not right. Whatever happens next to solve the new problem w/ printing should

Re: Font Metrics AWT

2002-05-19 Thread Jeremias Maerki
Oh my. I seem to have been too fast on this, maybe. Anyway, I'm going to bed now. Cheers, Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: Font Metrics AWT

2002-05-19 Thread Jeremias Maerki
Done! While applying your patch I thought I'd also start working on overline and line-through support. I've added text decoration for inline spaces, too. There may be still an issue about the actual vertical position of an overline. And there are sporadic hiccups with the inline space text decorat

RE: Font Metrics AWT

2002-05-19 Thread Ralph LaChance
strictively >with private access. > >ThanX a lot (especially to ralph for the fix) >cu Torsten > > > -Original Message- > > From: Ralph LaChance [mailto:[EMAIL PROTECTED]] > > Sent: Donnerstag, 16. Mai 2002 17:05 > > To: [EMAIL PROTECTED] > > Su

RE: Font Metrics AWT

2002-05-17 Thread Ralph LaChance
At 04:13 AM 5/17/02, you wrote: >Can anyone make the 'graphic' variable protected, to enable sublasses to >draw on it? Makes sense to me; since I'm not a committer, it doesn't make much sense for me to make the change - perhaps whoever commits my new version of AWTRenderer.renderWordArea() would

RE: Font Metrics AWT

2002-05-17 Thread Torsten Erler
the fix) cu Torsten > -Original Message- > From: Ralph LaChance [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 16. Mai 2002 17:05 > To: [EMAIL PROTECTED] > Subject: RE: Font Metrics AWT > > > I have found the problem and worked out its repair. > The modified code is a

RE: Font Metrics AWT

2002-05-16 Thread Ralph LaChance
I have found the problem and worked out its repair. The modified code is attached below. The problem stems from a bug in java's handling of drawing of AttributedStrings when a font attribute is specified. Bug parade #4650042 describes a similar problem unique to jdk 1.4, but makes also suggests

RE: Font Metrics AWT

2002-05-13 Thread Torsten Erler
m: Ralph LaChance [mailto:[EMAIL PROTECTED]] Sent: Samstag, 11. Mai 2002 04:22 To: [EMAIL PROTECTED] Subject: RE: Font Metrics AWT Trying to place your results on a JLabel rings a bell but I can't recall why Could you try running the vanilla command-line fop -awt and see if you get b

RE: Font Metrics AWT

2002-05-10 Thread Ralph LaChance
Trying to place your results on a JLabel rings a bell but I can't recall why Could you try running the vanilla command-line fop -awt and see if you get better results ? something like java -cp org.apache.fop.apps.Fop -xsl -xml -awt Also, please give you fop version ,

RE: Font Metrics AWT

2002-05-10 Thread Christopher Burkey
Yes, Our fonts also look badly spaced. It would be very nice to get this fixed. I have looked over the code but could not see anything wrong. Under JDK 1.4 there is a big improvement. But still, the most obvious error's are the spacing between words. Should I submit a test case .fo file? Big

RE: Font Metrics AWT

2002-05-10 Thread Torsten Erler
Hi all! Now I've downloaded the sdk version 1.3.1_03 from sun but the result is the same like before. I've attached a screenshot to this mail. My workflow: I go to the Driver, set the Logger and my Renderer(extended from AWTRenderer), and call render(XMLReader,InputSource) on the Driver, After th

RE: error generating font metrics file

2002-04-22 Thread Michiel Verhoef
$ I apologize for asking a question that has probably been $ asked 100 times $ BUT there doesn't seem to be any working archives for this list. $ What's up with that? Go to http://marc.theaimsgroup.com/ and look for Apache, fop-dev and fop-user archives. HTH, Michiel ---

Re: error generating font metrics file

2002-04-22 Thread J.Pietschmann
Randall J. Parr wrote: > LOCALCLASSPATH=\ > ${FOPHOME}/build/fop.jar\ > :${FOPHOME}/lib/xerces.jar\ > :${FOPHOME}/lib/xalan.jar\ > :${FOPHOME}/lib/batik.jar\ In my distribution there is no xerces.jar nor a xalan.jar in lib. There is a xerces-1.2.3.jar and a xalan-2.0.0.jar. Did you rename the fil

error generating font metrics file

2002-04-22 Thread Randall J. Parr
Have FOP 0.20.3 installed and have successfully used it to convert various FO to PDF (including the examples). Trying to install another font. Following instructions at xml/apache.org/fop/fonts.html I run the following small script --- FOPHOME=/java/java/Apache/f

Font metrics

2001-12-19 Thread Henrik Holle
I have a problem with the fonts in the AWT Preview. e.g. : 25. Abfahren . looks like: "25. Abf arhen ." or "von" -> "v on" Is this a known bug, or are my fonts damaged? Can I replace the standard fonts? ---

Re: Path of font-metrics file

2001-07-05 Thread Hoang Nam
To: [EMAIL PROTECTED] Sent: Wednesday, July 04, 2001 12:06 PM Subject: Path of font-metrics file Hello,   When I run Fop, Fop does not fond the metric-font files that I generated  (In the userconfig.xml, I specified the path of the meric-font files). It works only if I pu

Path of font-metrics file

2001-07-04 Thread Hoang Nam
Hello,   When I run Fop, Fop does not fond the metric-font files that I generated  (In the userconfig.xml, I specified the path of the meric-font files). It works only if I put the metric-font files in the directory where I lauch FOP.   Could somebody tell me how  specifying the path of the