chrstfer / blacken

Not mine, just a clone automatically exported from the now defunct google code.
https://code.google.com/archive/p/blacken/
3 stars 0 forks source link

SVG support through Apache Batik #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please describe use-case:

We want to be able to easily replace font glyphs with specialized imagery. 
Ideally, this would be glyphs not yet in a particular font.

Looking at the Batik APIs, it looks like you can either use a SVGCanvas -- 
implying a single SVG image in the canvas and not a repeatable SVG image along 
with other SVG images, graphics and fonts -- or you can convert it to a raster 
image.

http://xmlgraphics.apache.org/batik/using/transcoder.html

I think converting it to a raster image may be a good idea. It does mean we'd 
be left with a graphical tile-based game as a possibility. The infrastructure 
to support cached images from the SVG renderings could easily be used to 
support other raster images.

This is acceptable. The fact that it is SVG means the images will normally 
scale cleanly, so if folks really need tile-based graphics, at least they can 
use some that actually look good.

Original issue reported on code.google.com by yam...@gmail.com on 14 Jul 2012 at 4:09