[Webkit-unassigned] [Bug 18617] [CAIRO] SVG fonts get the wrong color (always black)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 25 13:44:00 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=18617
vbs85 at gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20821|0 |1
is obsolete| |
Attachment #20823| |review?
Flag| |
------- Comment #5 from vbs85 at gmx.de 2008-04-25 13:43 PDT -------
Created an attachment (id=20823)
--> (http://bugs.webkit.org/attachment.cgi?id=20823&action=view)
Display texts in SVG and HTML
This patch fixes the problem with displaying texts in SVG and HTML. I had to
use a workaround to get a full support.
I had to hard-code the fill-rule for SVG's to CAIRO_FILL_RULE_EVEN_ODD to
differentiate between HTML- and SVG-texts. For HTML-text the font-color has to
be hard-coded at present. If you don't do it (e.g. use of
setPlatformFillColor(), see attachment above) not all HTML-objects are
displayed right.
HTML makes only use of CAIRO_FILL_RULE_WINDING.
I couldn't find any optical differences in SVG between the two fill-rules.
This patch fixes bug-report: 18663, 15619 too.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list