Hi.

I'm using Batik 1.6. With the rasterizer I want to convert SVGs with embedded fonts to PNGs. The SVGs are test cases for the fonts, so what is intended is, that the glyphs, that actually are in the font, are displayed, while all other letters are rendered using the <missing-glyph/> of the font.

Batik's behaviour so far is unfortunately to replace the font family instead of showing the missing-glyph.

Does anyone know, how to force Batik to use the <missing-glyph/>? Is this a SVG topic, that is, is there an SVG property for this?

By the way: I tried the
  -font-family ""
flag without success.

Best regards

Manuel


PS: Code snipped:

<svg>

  <font>
    <font-face font-family="test"/>
    <missing-glyph>
      <path d=""/>
    </missing-glyph>
    <glyph unicode="A" glyph-name="A">
      <path d=""/>
    </glyph>
  </font>

  <!-- should be rendered using glyph "A" -->
  <text> A </text>

  <!-- should be rendered using missing-glyph -->
  <text> B </text>

</svg>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to