https://issues.apache.org/bugzilla/show_bug.cgi?id=44532

           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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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
compatibility?

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


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to