xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44532] New: comma in hkern (compatibility)
Date Tue, 04 Mar 2008 18:45:56 GMT

           Summary: comma in hkern (compatibility)
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: GVT Text
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: markus+asf@gyger.org

The spec says that a comma (,) in attribute u1 or u2 of element <hkern> or
<vkern> needs to be specified as a Unicode range (or using g1 and g2), like
<hkern u1="T" u2="U+002C" k="100"/>. However, for compatibility with some old
SVG viewer, it would be nice if a comma is recognized as literal character if
u1 and/or u2 either contain only a comma as the only character (u2=","), or if
they start or end with two commas (e.g. u2=",,.,;") -- these seem to be
unlikely cases for accidental typos.

Both u2="U+002C" and u2="U+2c" is recognized as a comma, but not u2="u+002c".
However, the example lex scanner in the appendix of the spec is
case-insensitive, so maybe a lowercase u+ should also be recognized for

A workaround for authors might be to use u2=",,U+002C" which seems to work on

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message