1 Nov 2005 06:49
DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break
<bugzilla <at> apache.org>
2005-11-01 05:49:30 GMT
2005-11-01 05:49:30 GMT
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 ravenix2 <at> yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16651|0 |1 is obsolete| | Attachment #16694|0 |1 is obsolete| | ------- Additional Comments From ravenix2 <at> yahoo.com 2005-11-01 06:49 ------- Created an attachment (id=16846) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16846&action=view) line break patch This is a line break patch without typesetting fine tuning. It still base on BreakIterator and satisfy testcases. Sorry for my previous buggy patch. Befor the new Unicode Line Breaking algorithm available, the patch make it possible to test FOP with CJK characters. -- -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email(Continue reading)
)
Oops, been too quick. From an UnsupportedOperationException to a
ConcurrentModificationException...
The trick seems to be to introduce a small boolean 'discard' switch
to the Character object, flip this upon calling OCIter.remove(), and
have the Block/Inline later remove any of its characters marked as
discardable, but do this (of course) only after the
RecursiveCharIterator has finished --to avoid the childNodes list
from being altered while it's being iterated over...
RSS Feed