Re: [Tuxpaint-devel] Test build with SVG support
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2007-03-22 18:19:31
|
On Thu, Mar 15, 2007 at 05:06:43AM +0000, John Popplewell wrote:
> and the 'duplicates' in the stamps collection.
FYI, I finally updated tuxpaint.c so that when it stumbles across a PNG file,
it double-checks that there's no similarly-named SVG file. If it finds one,
it skips the PNG, with the assumption that the SVG one is the preferred one
to use.
I think at some point, for platforms that just won't do SVG any time soon,
we'll end up wanting a build process within tuxpaint-stamps that
converts SVGs into PNGs before packaging the stamps for release. Then only
package the PNGs.
So in the end, the only PNGs that would be stored in the Tux Paint Stamps
'source' repository would be photographic ones, for which there are no
corresponding PNGs.
In other words:
source tarball / CVS repository:
foo-photo.png
bar-drawing.svg
package for an SVG-capable platform: (say, Win32)
foo-photo.png
bar-drawing.svg
package for some non-SVG-supporting platform:
foo-photo.png
bar-drawing.png [converted from bar-drawing.svg at 'build' time]
-bill!
|