You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conversions to SVG fonts in svggen are incomplete and do not include all font metrics. As a result, text decorations are rendered inaccurately, like in the following comparison image where the expected render is at the left:
Support at least strikethrough-* and underline-* attributes.
The text was updated successfully, but these errors were encountered:
I changed the behavior of 'strikethrough-position' in 'SVGGVTFont', as its sign was being changed there but,
according to the SVG 1.1 specification:
"Unlike standard graphics in SVG, where the initial coordinate system has the y-axis pointing downward (see
The initial coordinate system), the design grid for SVG fonts, along with the initial coordinate system for
the glyphs, has the y-axis pointing upward for consistency with accepted industry practice for many popular
font formats."
I changed the behavior of strikethrough-position in SVGGVTFont, as its sign was being changed there but, according to the SVG 1.1 specification:
Unlike standard graphics in SVG, where the initial coordinate system has the y-axis pointing downward (see The initial coordinate system), the design grid for SVG fonts, along with the initial coordinate system for the glyphs, has the y-axis pointing upward for consistency with accepted industry practice for many popular font formats.
Now, all the font-related tests pass.
EDIT: I later reverted that change, to retain compatibility with Batik see aadcb46.
Conversions to SVG fonts in
svggen
are incomplete and do not include all font metrics. As a result, text decorations are rendered inaccurately, like in the following comparison image where the expected render is at the left:Support at least
strikethrough-*
andunderline-*
attributes.The text was updated successfully, but these errors were encountered: