xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48765] java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:375)
Date Sun, 23 May 2010 19:34:51 GMT

--- Comment #6 from Bela Hausmann <post@belahausmann.name> 2010-05-23 15:34:47 EDT ---
I found a dirty workaround so that everything works 'till this is fixed:

Add this to your fo XSL file

<xsl:template match="anchor">
  <xsl:variable name="id">
    <xsl:call-template name="object.id"/>
  <fo:inline id="{$id}"></fo:inline>

Note that there should be the ZERO WIDTH NO-BREAK SPACE unicode charater
(U+FEFF) in the fo:inline tag (<fo:inline id="{$id}">U+FEFF</fo:inline>). A
unicode font is probably needed for this to work.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
View raw message