Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1213

text-decoration overline not aligned correctly on PDF outputs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.13, 1.9
    • None
    • SVG Rasterizer
    • None
    • Windows 7, Java RE 9.0.1

    Description

      Since 1.9, it appears that PDF outputs from Rasterizer do not properly align text-decoration overlines.  In 1.7.1 text decorations appear to align properly, however the font is rendered as paths as opposed to converted to text (as in 1.9).  Also verified this is an issue on trunk as well.

      I'm trying to preserve the text as selectable as in the original source SVG but have the text decoration aligned correctly.

      See test input file, output pdf using 1.9, output using 1.7.1, and output png in 1.7.1/1.9.

      Attachments

        1. test-output-1.9.png
          10 kB
          Jeff Skarzynski
        2. test-output-1.9.pdf
          11 kB
          Jeff Skarzynski
        3. test-output-1.7.1.png
          9 kB
          Jeff Skarzynski
        4. test-output-1.7.1.pdf
          8 kB
          Jeff Skarzynski
        5. test_text_decorations.svg
          0.7 kB
          Jeff Skarzynski

        Activity

          People

            Unassigned Unassigned
            jskarzynski Jeff Skarzynski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: