DO NOT REPLY [Bug 36977] [PATCH] TextLayoutManager CJK line break
https://issues.apache.org/bugzilla/show_bug.cgi?id=36977 taffy-tyler6...@hotmail.co.uk changed: What|Removed |Added CC||taffy-tyler6...@hotmail.co. ||uk -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 36977] [PATCH] TextLayoutManager CJK line break
https://issues.apache.org/bugzilla/show_bug.cgi?id=36977 Glenn Adams gad...@apache.org changed: What|Removed |Added Summary|[PATCH]TextLayoutManager|[PATCH] TextLayoutManager |CJK line break |CJK line break -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 36977] [PATCH]TextLayoutManager CJK line break
https://issues.apache.org/bugzilla/show_bug.cgi?id=36977 Glenn Adams gad...@apache.org changed: What|Removed |Added Priority|P3 |P2 --- Comment #11 from Glenn Adams gad...@apache.org 2012-04-11 03:20:39 UTC --- increase priority for bugs with a patch -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
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=36977. 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=36977 --- Additional Comments From [EMAIL PROTECTED] 2005-10-26 12:31 --- It seems that the new method createElementsForLineBoundary() is called and appends elements even if there are no cjk characters, and I think this should not happen. When I tried applying the patch some days ago, the testcases concerning hyphenation failed too: the output had both missing and repeated pieces of text. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
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=36977. 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=36977 --- Additional Comments From [EMAIL PROTECTED] 2005-10-18 12:40 --- The problem you mention (all the adjustment space appears at the end of the line, in other words the line is not justified) is probably due to the bug 36238. Regards Luca -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
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=36977. 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=36977 --- Additional Comments From [EMAIL PROTECTED] 2005-10-14 16:35 --- I don't have the font you use in your example, so I cannot directly test it to see what happens. Anyway, if you could attach the list of elements created it could be easier to see if they are correct. For example, you could put this method in LineLayoutManager.java ... private void outputElementList(Paragraph par) { System.out.println(); System.out.println(paragraph start); ListIterator iter = par.listIterator(); KnuthElement el; while (iter.hasNext()) { el = (KnuthElement) iter.next(); if (el.isBox()) { System.out.println(iter.previousIndex() + ) box w= + el.getW()); } else if (el.isGlue()) { System.out.println(iter.previousIndex() + ) gllue w= + el.getW() + y= + el.getY() + z= + el.getZ()); } else { System.out.println(iter.previousIndex() + ) penalty w= + el.getW() + p= + el.getP()); } } System.out.println(paragraph end); } ... call it in createLineBreaks() just before findOptimalBreakingPoints(), with seq as parameter, and attach the resulting output file. Regards Luca -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
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=36977. 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=36977 [EMAIL PROTECTED] changed: What|Removed |Added Attachment #16627|0 |1 is obsolete|| --- Additional Comments From [EMAIL PROTECTED] 2005-10-14 04:55 --- Created an attachment (id=16694) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16694action=view) new patch This new patch fulfill all rules mentioned in Comment #3 except Typesetting Adjustment R3 and shrink priority of R5. It use java.text.BreakIterator.getLineInstance(locale) to decide line breaking points, and use BreakIterator.getWordInstance(locale) to decide word boundary for implementing Typesetting Adjustment R1. Now, line breaking works well. * ISSUE NEED HELP * All the width of KnuthGlues inserted for Typesetting Adjustment appear at line end instead of their inserted position. I think I make mistakes about KnuthGlue and AreaInfo. I'm trying to dig it out. however, I hope someone can give me some hints. Is it caused by KnuthGlue/AreaInfo has no corresponding string? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
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=36977. 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=36977 --- Additional Comments From [EMAIL PROTECTED] 2005-10-11 07:24 --- Created an attachment (id=16651) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16651action=view) chinese example, includes fo, pdf before and after patch -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
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=36977. 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=36977 --- Additional Comments From [EMAIL PROTECTED] 2005-10-09 11:21 --- Created an attachment (id=16627) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16627action=view) Patch for TextLayoutManager.java -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
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=36977. 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=36977 --- Additional Comments From [EMAIL PROTECTED] 2005-10-09 12:35 --- Thank you very much for submitting this patch. Would it be possible for you to also add a sample fo file demonstrating the effect of the patch? I believe there is little experience within the current group of committers with respect to non western scripts. Therefore I would appreaciate if you could briefly summarise for the uninitiated Westerner the line breaking rules for CJK. Thanks again for you interest in and support of FOP. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee.