Bug 52289 - Colors aqua, fuchsia, lime, olive, silver, teal missing from rgb.txt
Summary: Colors aqua, fuchsia, lime, olive, silver, teal missing from rgb.txt
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-20 05:51 UTC by 7.2k9a4Y3W5c
Modified: 2014-07-07 06:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch file (1.04 KB, patch)
2012-07-21 02:06 UTC, 7.2k9a4Y3W5c
no flags Details | Splinter Review
Regenerated os/oscolor.c based on newest version of rgb.txt (76.30 KB, patch)
2014-07-07 02:06 UTC, Daphne Pfister
no flags Details | Splinter Review
Perl script used to generate the oscolor.c patch (5.44 KB, text/plain)
2014-07-07 02:08 UTC, Daphne Pfister
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description 7.2k9a4Y3W5c 2012-07-20 05:51:39 UTC
The following colors are missing from rgb.txt:
aqua,fuchsia,lime,olive,silver,teal
These are listed as as "Basic color keywords" and/or "Extended color keyword" by w3.org. 

http://www.w3.org/TR/css3-color/#html4

http://www.w3.org/TR/css3-color/#svg-color

This is affecting several other packages including: Pango, gdk-pixbuf and gtk+3 with it's new CSS capabilities. xpm-color-table.h in gdk-pixbuf and pango-color-table.h in Pango are generated by the script gen-color-table.pl from rgb.txt
Comment 1 7.2k9a4Y3W5c 2012-07-21 02:06:50 UTC
Created attachment 64473 [details] [review]
patch file
Comment 2 Daphne Pfister 2014-07-07 02:06:34 UTC
Created attachment 102335 [details] [review]
Regenerated os/oscolor.c based on newest version of rgb.txt

Updates os/oscolor.c to match the changes to app/rgb from bug 80371
Comment 3 Daphne Pfister 2014-07-07 02:08:41 UTC
Created attachment 102336 [details]
Perl script used to generate the oscolor.c patch

Perl script that I used to update oscolor.c in case it is useful.
Comment 4 Daphne Pfister 2014-07-07 06:27:02 UTC
(In reply to comment #3)
> Created attachment 102336 [details]
> Perl script used to generate the oscolor.c patch
> 
> Perl script that I used to update oscolor.c in case it is useful.

I forgot to add license to the perl script since I just did it as throw away as I don't imagine it is needed that often. But if turns out to be worth keeping canonical license is fine.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.