You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Oleg Tkachenko <ol...@multiconn.com> on 2002/12/04 18:27:47 UTC
bug #13586
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 anybody
suffering from it able to make the modification in the code. It's only 1 line
after all.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: bug #13586
Posted by Keiron Liddle <ke...@aftexsw.com>.
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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: bug #13586
Posted by Christian Geisert <ch...@isu-gmbh.de>.
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
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org