Scalable Vector Graphics2009-07-10
I’ve been fiddling with my site design some more recently, and decided that I wanted a vertical banner on the left-hand side to advertiseservices. I figures that I’d only be able to manage this with an image, and set about creating said image in a drawing application. I then found that the image I had created didn’t scale nicely nor did it fit on pages of arbitrary height without leaving a big gap of non-clickable background colour or, worse, distorting the image so that the text was illegible.
Text in SVG is written very similar to xHTML, just with a different <tag> name (being “text”). A big advantage of this way of defining text is that I don’t need to do anything special to change what the advert says as I can just open the .svg file in my favourite text editor and replace the content of the <text> tag.
So far I’ve only scraped the surface of what’s available in the SVG format, but I’m eager to see what else I can do with it.