[
https://issues.apache.org/jira/browse/FOP-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Lim updated FOP-2808:
--------------------------
Probably worth mentioning this limitation in the hyphenation section on FOP
website.
> 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
> Priority: Minor
> 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)