[
https://issues.apache.org/jira/browse/FOP-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glenn Adams resolved FOP-2420.
------------------------------
Resolution: Fixed
Fix Version/s: trunk
Assignee: Glenn Adams
Fixed in http://svn.apache.org/viewvc?view=revision&revision=r1633759.
The assertion was produced by a word area having a default (-1) bidi level when
the entire content of the original word's text was mapped to the empty string
via the glyph mapping process. This condition came about as a result of the fix
for FOP-2249, which elides bidi control characters. In this particular case,
the original text for a word area (before glyph mapping) consisted of a single
bidi control character (U+202D - LRO) which was elided by the mapping process.
> BidiResolver AssertionError
> ---------------------------
>
> Key: FOP-2420
> URL: https://issues.apache.org/jira/browse/FOP-2420
> Project: Fop
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: simon steiner
> Assignee: Glenn Adams
> Fix For: trunk
>
> Attachments: ScheherazadeRegOT.ttf, fop.xconf, test.fo
>
>
> export FOP_OPTS=-ea
> fop test.fo -c fop.xconf out.pdf
> Exception in thread "main" java.lang.AssertionError
> at
> org.apache.fop.complexscripts.bidi.BidiResolver.reorderRuns(BidiResolver.java:166)
> at
> org.apache.fop.complexscripts.bidi.BidiResolver.reorder(BidiResolver.java:103)
> at
> org.apache.fop.layoutmgr.inline.LineLayoutManager.addInlineArea(LineLayoutManager.java:1567)
> at
> org.apache.fop.layoutmgr.inline.LineLayoutManager.addAreas(LineLayoutManager.java:1451)
> at
> org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:327)
> at
> org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:113)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)