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 bu...@apache.org on 2008/03/04 19:45:56 UTC

DO NOT REPLY [Bug 44532] New: comma in hkern (compatibility)

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: 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
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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org