DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42
116>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42116
a>
Summary: text-rendering 'auto' output less
legible that other
options for some fonts
Product: Batik
Version: 1.7
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: SVG Rasterizer
AssignedTo: batik-dev xmlgraphics.apache.org
ReportedBy: daniel.a.joyce gmail.com
According to:
http://www.w3.org/TR/SVG/painting.html#TextRendering
Property
"auto" is supposed to balance speed, precision,
and legibility, while favoring
legibility. For some fonts though, this isn't true. I've
included a sample chunk
of an affected svg document. For this font, at certain
window sizes in squiggle,
the descenders on the 1 are missing when 'auto' is used,
rendering it as a
single hovering 'dot'.
This problem is not present when text-rendering is set to
optimizeSpeed,
optimizeLegibility, or geometricPrecision.
<text enable-background="new "
text-rendering="auto" transform="matrix(1
0 0 1 64.6787 71.8477)">
<tspan fill="#525759" x="0"
font-size="15" y="0"
font-family="'Chalet-bondNineteenSeventy'">1 0
1 0 1 0 1 0 1 0 1</tspan>
</text>
<text enable-background="new "
text-rendering="optimizeSpeed"
transform="matrix(1 0 0 1 64.6787 100.8477)">
<tspan fill="#525759" x="0"
font-size="15" y="0"
font-family="'Chalet-bondNineteenSeventy'">1 0
1 0 1 0 1 0 1 0 1</tspan>
</text>
<text enable-background="new "
text-rendering="optimizeLegibility"
transform="matrix(1 0 0 1 64.6787 130.8477)">
<tspan fill="#525759" x="0"
font-size="15" y="0"
font-family="'Chalet-bondNineteenSeventy'">1 0
1 0 1 0 1 0 1 0 1</tspan>
</text>
<text enable-background="new "
text-rendering="geometricPrecision"
transform="matrix(1 0 0 1 64.6787 160.8477)">
<tspan fill="#525759" x="0"
font-size="15" y="0"
font-family="'Chalet-bondNineteenSeventy'">1 0
1 0 1 0 1 0 1 0 1</tspan>
</text>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.
------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribe xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help xmlgraphics.apache.org
|