prog: (Default)
prog ([personal profile] prog) wrote2003-12-18 11:13 pm

(no subject)

In a crafty mood this evening, so made an SVG card deck. Note that clicking that link will probably make one of two things happen for you, at least if your computer it set up like mine: you'll get a cascade of nigh-meaningless XML (if you don't have Adobe's SVG Viewer plugin installed) or (if you do) you'll see something that looks like a deck of cards, except with hollow squares replacing every suit symbol. This is because I used fonts for every symbol on every card; the only manually-defined shape was the border rectangles. Alas, most fonts don't support the Unicode "miscellaneous symbols" space I plucked these glyphs from. So, yes: like everything else I try to make, it's broken because I'm just too cutting-edge.

Actually, Squiggle renders them pretty nicely, so I took a couple of screen-samplings from that.

There actually was a practical point to this exercise, viz: remove all the <use> elements from the document, and you got yourself a nice, non-displaying library of SVG symbols, ready for manipulation by strange & alien forces, such as ECMAScript. Can you guess that I did this in order to take a break from cleaning up the Volity paper, which is about a remarkably similar topic?

Shocked and appalled that the month is more than half over. I'll try to have this paper done by XMas.
(deleted comment) (Show 1 comment)

[identity profile] rikchik.livejournal.com 2003-12-19 06:51 am (UTC)(link)
I have no idea what's installed on my machine, but it more or less works for me. The chess symbols don't work, and "jmac.org" is too large to fit in the spade symbol, but other than that it's good. I like your jokers too :)