You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Raimar Falke (JIRA)" <ji...@apache.org> on 2013/12/05 18:06:36 UTC

[jira] [Created] (BATIK-1061) Wrong font used for single char in SVG rendering

Raimar Falke created BATIK-1061:
-----------------------------------

             Summary: Wrong font used for single char in SVG rendering
                 Key: BATIK-1061
                 URL: https://issues.apache.org/jira/browse/BATIK-1061
             Project: Batik
          Issue Type: Bug
          Components: GVT, GVT Text
    Affects Versions: 1.7
            Reporter: Raimar Falke
         Attachments: ShowBatikBug.java

Please take a look at the attached Java class and the attached PNG files. Please note that the test currently requires two fonts files which I can not provide. It should be easy to exchange them with other font files.

The problem is that the index is not correctly updated and so the second char does not get the correct font. Which leads to an incorrect rendering.

I have also attached a patch.

The current SVN version (# 1543214) also shows the bug.




--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org