On Thu, 2002-12-05 at 18:05, Christian Geisert wrote: > Oleg Tkachenko wrote: > > Hello there! > > > > What do you think about > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13586? > > > > Stefan asks us to use something like > > float currentLetterSpacing = (float) 99999.99; > > > > instead of > > > > float currentLetterSpacing = Float.NaN > > > > in PDFRenderer.java due to jre-1.3.1 for linux-alpha bug. > > For me it looks too patchy. I suggest to resolve the bug as WONTFIX as > > I would use Float.MAX_VALUE instead of (float) 99999.99
If you look in the pdf spec the initial value of Tc (character spacing) is 0. So you could use 0 if it properly handles the pdf graphics state by setting it to the old value when leaving a state. I don't know how possible it is to do that but even with a large number it still needs to reset it when leave the state. Since it is used only in small sections it may be unlikely to cause a problem. Anyway the MAX_VALUE should work okay. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]