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 "Eric Lim (JIRA)" <ji...@apache.org> on 2018/07/26 19:27:00 UTC

[jira] [Created] (FOP-2808) Hyphenation does not work with RTL writing mode.

Eric Lim created FOP-2808:
-----------------------------

             Summary: Hyphenation does not work with RTL writing mode.
                 Key: FOP-2808
                 URL: https://issues.apache.org/jira/browse/FOP-2808
             Project: FOP
          Issue Type: Bug
            Reporter: Eric Lim
         Attachments: rtl_config.xconf, rtl_hyph.xml, rtl_testcase.fo

Exception in thread "main" java.lang.AssertionError: heterogeneous inlines not yet supported!!
 at org.apache.fop.complexscripts.bidi.InlineRun.split(InlineRun.java:139)
 at org.apache.fop.complexscripts.bidi.BidiResolver.splitRuns(BidiResolver.java:145)
 at org.apache.fop.complexscripts.bidi.BidiResolver.reorder(BidiResolver.java:86)
 at org.apache.fop.layoutmgr.inline.LineLayoutManager.addInlineArea(LineLayoutManager.java:1645)
 at org.apache.fop.layoutmgr.inline.LineLayoutManager.addAreas(LineLayoutManager.java:1527)
 at org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:330)
 at org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:113)
 at org.apache.fop.layoutmgr.table.TableCellLayoutManager.addAreas(TableCellLayoutManager.java:611)
 at org.apache.fop.layoutmgr.table.RowPainter.addAreasForCell(RowPainter.java:436)
 at org.apache.fop.layoutmgr.table.RowPainter.addAreasAndFlushRow(RowPainter.java:314)
 at org.apache.fop.layoutmgr.table.RowPainter.endTablePart(RowPainter.java:125)

 

This assertion is thrown because org.apache.fop.layoutmgr.inline.TextLayoutManger.addHyphenationChar is not updating the  bidi word levels.

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)