DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14478>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14478 Hyphenation for the first time works not correctly Summary: Hyphenation for the first time works not correctly Product: Fop Version: 0.20.4 Platform: Macintosh OS/Version: MacOS X Status: NEW Severity: Normal Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If a text is rendered and it's contents hits the right border for the first time AND the last word in the current line should be hyphenated then and only then the hyphenated word is rendered in the wrong order. But if a text which hits for the first time the left border of an area wasn't hyphenated then the hyphenation works correctly for the next strings. I think the problem is in the class LineArea. The instance works for hyphenation correctly only after it renders a text which hits the right border of an area. After that all member variables have now right values for hyphenation. example: I have two <fo:block>-tags, which contains the same text und attributes. The first < fo:block> is wrapped for the first time at all at the end of line. So the last word of the line is hyphenated. The same thing happens (of course) to the second block. The result isn't the same. <fo:block font-size="7pt" font-family="arial" font-weight="normal" text-align="left" space-after="1.5mm" color="#000000"> bla bla T-D1-Company bla bla </fo:block> <fo:block font-size="7pt" font-family="arial" font-weight="normal" text-align="left" space-after="1.5mm" color="#000000"> bla bla T-D1-Company bla bla </fo:block> result: bla bla om- T-D1-Cpany bla bla bla bla T-D1- Company bla bla As you can see the string "T-D1-Company" is hyphenated to "om-T-D1-Cpany" which is wrong. But the second hyphenation of the same string is right. If you now change the content of the first block, so there is no hyphenation needed, then it works fine. The hyphenation of the second block is right. This is my work around for that feature...:-) I know I should send the complete fo-document...I try to find a "small" example to show it. I hope you can understand my bug report...:-) -Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]