DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28208>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28208 [PATCH] justification in PDF Renderer ------- Additional Comments From [EMAIL PROTECTED] 2004-04-06 12:55 ------- Hi Luca, Im looking at your patch now. I tried removing the IF statement and the effect is one part line of text in your 2nd sample is flipped upside down! Instead I tried keeping the IF statement there, but setting the word spacing in both bits, e.g. if (emDiff < -33000) { closeText(); pdf.append("1 0 0 1 " + (rx / 1000f) + " " + (bl / 1000f) + " Tm " + (text.getTSadjust()/1000f) + " Tw [" + startText); textOpen = true; } else { pdf.append(Float.toString(emDiff)); pdf.append(" " + (text.getTSadjust()/1000f) + " Tw "); pdf.append(startText); } This is closer, but the justification is very slightly out on the 2nd paragraph. Ill take another look later. Thanks for all your efforts Chris
