Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1472

hyphenation-character doesn't appear in pdf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Duplicate
    • 0.94
    • None
    • renderer/pdf
    • None
    • Operating System: other
      Platform: Other
    • 44124

    Description

      Right, as soon as you enable white-space-treatment="preserve" the
      hyphenation-character is just ignored. Otherwise, the hyphenation
      character works fine. Can you please open an issue in Bugzilla and add
      your files there? We'll have to look into this.
      http://issues.apache.org/bugzilla/

      Unfortunately, I could not come up with a work-around.

      On 20.12.2007 21:37:19 Xuan Ngo wrote:
      > I tried to change the hyphenation-character with a backslash in
      <programlisting> tag but it is
      not
      > appearing in the pdf output. However, long line in pdf are broken down to
      multiple lines.
      > Can some1 tell me what is wrong with my customization layer?
      > I'm using Docbook 1.73.2 and FOP v0.94.
      >
      > Here is my customization layer:
      > <xsl:param name="hyphenate.verbatim" select="1"></xsl:param>
      >
      > <xsl:attribute-set name="monospace.verbatim.properties"
      > use-attribute-sets="verbatim.properties monospace.properties">
      > <xsl:attribute name="wrap-option">wrap</xsl:attribute>
      > <xsl:attribute name="hyphenation-character">\</xsl:attribute>
      > </xsl:attribute-set>
      >
      > I also attach all required files in case that they are needed.
      >
      > thx!
      >

      Attachments

        1. HyphenCharacter.zip
          8 kB
          Xuan Ngo

        Issue Links

          Activity

            People

              fop-dev@xmlgraphics.apache.org fop-dev
              xuanngolist@yahoo.ca Xuan Ngo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: