GNOME Bugzilla – Bug 420578
[subparse] add more colour map in sami parser
Last modified: 2007-03-21 10:27:01 UTC
Please describe the problem: As described http://bugzilla.gnome.org/show_bug.cgi?id=169936#c28 , some html colour names are not supported by pango, and applied workaround about silver colour only. There is html color name page (http://www.w3schools.com/html/html_colornames.asp) and I found only 8 colour name are not supported. I'll attach a patch to support these colors. Please apply it. Thank you. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 84980 [details] [review] add more html colour map in sami parser
Committed, thanks: 2007-03-21 Tim-Philipp Müller <tim at centricular dot net> Patch by: Young-Ho Cha <ganadist at chollian net> * gst/subparse/samiparse.c: (handle_start_font): Special-case some more colour names that pango doesn't handle by default. Fixes #420578.