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

Problem with missing glyph

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.8
    • None
    • GVT Text
    • None
    • Operating System: other
      Platform: Other

    Description

      Vincent,

      Reported by Luc Minnebo:

      the <missing-glyph> element does not work in Batik;
      See included testfile;

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
      "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

      <svg height="600" width="600" >

      <defs>
      <font horiz-adv-x="1000">
      <font-face font-family="MyOwn" alphabetic="0" units-per-em="1000"/>
      <missing-glyph horiz-adv-x="1300">
      <path d="M0 0 L 0 1000 L 1000 500 L 0 0"/>
      </missing-glyph>
      <glyph unicode="A" horiz-adv-x="1300">
      <path d="M0 0 L 500 1000 L1000 0 L 0 0"/>
      </glyph>
      <glyph unicode="B" horiz-adv-x="1300">
      <path d="M0 1000 L 500 0 L1000 1000 L 0 1000"/>
      </glyph>
      </font>
      </defs>
      <g transform="translate(50,50)" >
      <text font-size="12pt" >This is "ABCA" using MyFont: <tspan
      style="font-family:MyOwn">ABCA</tspan> </text>
      </g>
      </svg>

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            vincent.hardy@sun.com Vincent Hardy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: