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 "simon steiner (JIRA)" <ji...@apache.org> on 2017/01/26 15:17:24 UTC

[jira] [Resolved] (FOP-1067) [PATCH] TextLayoutManager CJK line break

     [ https://issues.apache.org/jira/browse/FOP-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner resolved FOP-1067.
--------------------------------
    Resolution: Not A Problem

Working in trunk

> [PATCH] TextLayoutManager CJK line break
> ----------------------------------------
>
>                 Key: FOP-1067
>                 URL: https://issues.apache.org/jira/browse/FOP-1067
>             Project: FOP
>          Issue Type: Bug
>          Components: layout/unqualified
>    Affects Versions: trunk
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Jingjing Lee
>         Attachments: 328882p3.patch, patch.txt, patch.txt, zh_example.zip
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)