After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711061 - pango_color_parse claims to use X11 palette but actually uses SVG palette
pango_color_parse claims to use X11 palette but actually uses SVG palette
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: docs
1.32.x
Other Linux
: Normal minor
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-29 09:33 UTC by Bruce Merry
Modified: 2014-03-18 00:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bruce Merry 2013-10-29 09:33:52 UTC
The documentation for pango_color_parse says "The string can either one of a large set of standard names. (Taken from the X11 rgb.txt file)". However, commit d2c319b changed the palette to use the SVG/CSS palette. In some cases this changes the interpretation of a color (see http://en.wikipedia.org/wiki/X11_color_names#Color_name_clashes).

I've filed against 1.32.x since I ran into the bug with that version installed, but eyeballing git HEAD (1.36.0-4-g8be9097) it doesn't seem to have changed.
Comment 1 Bruce Merry 2013-10-29 09:43:17 UTC
The documentation for gdk_color_parse also needs fixing, since it relies on pango_color_parse. Let me know if I should file a separate bug for that.
Comment 2 Behdad Esfahbod 2013-10-29 18:55:47 UTC
You're right.