[csswg-drafts] Pull Request: Convert CSS2 vector image source files to SVGs

gsnedders has just labeled a pull request from gsnedders for https://github.com/w3c/csswg-drafts as "CSS2":

== Convert CSS2 vector image source files to SVGs ==
Fix #2583: convert CSS2 vector image source files to SVGs

This gets rid of the various other formats we have, standardising entirely on SVG rather than using the current Xfig and Autodesk Graphic (formerly iDraw) files. Note these are programmatic conversions and the SVG files aren't particularly readable; these should be cleaned up as when we need to modify them.

Notable changes, presumably either from the source file not matching the committed PNG or the conversion process not working:

 * The current PNGs all seem fairly whitewashed on every device I have here, seemingly because of the gamma value set in them.
 * clip.png's fill colour of the shaded blocks has changed

Things definitely needing fixed before merging:

 - [x] boxdimeg.png is broken by the font size getting smaller
 - [x] first-letter.png looks pretty broken (font changes)
 - [x] first-letter2.png likewise
 - [x] float2p.png is broken by the font size getting smaller
 - [x] floatclear.png is broken by the font size getting smaller
 - [x] initial-cap.png is broken by the font size getting smaller
 - [ ] tbl-border-conflict.png has dramatically changed viewport size
 - [ ] tbl-empty.png is dramatically different (this is almost certainly just the committing PNG and idraw being very different)
 - [x] this branch also regenerates images generated from .gifs; we should drop those from the SVG conversion commit (and probably get rid of the GIF source, given GIF to PNG conversion helps nobody)
 - [ ] make zopfli optional

When merging, I'd suggest we squash most of this down; the actual history of the conversion is relatively uninteresting and it bloats the history a fair bit by having many incompressible PNGs.

That said, please take a look and see if you can find anything else broken.

See https://github.com/w3c/csswg-drafts/pull/2707

Received on Monday, 28 May 2018 12:09:41 UTC