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 bu...@apache.org on 2005/10/09 11:19:12 UTC

DO NOT REPLY [Bug 36977] New: - [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

           Summary: [PATCH]TextLayoutManager CJK line break
           Product: Fop
           Version: 1.0dev
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: page-master/layout
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: ravenix2@yahoo.com


The patch add FOP ability to handle CJK line breaking.
It use java.text.BreakIterator to determine all line breakable points in space
separated words. Between 2 CJK indeographics, a KnuthGlue is inserted, which
allow 1pt shrink. Between CJK indeographic and Latine letter, a KnuthGlue is
inserted, which advise half wordspace. And some CJK indeographic that glyph
occupy halfwidth is set halfwidth shrinkable.

the patch is based on revision 307247. see attachment.

-- 
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.