Seven Segment Display in Inkscape

Today I got a little sidetracked while working on my key-train (keyboard training) project.  I thought I might spruce it up a little by using a seven segment display for the digits (say for the words per minutes), similar to what kTouch has.  I found an open source font, but it appears to be difficult to just use a ttf font in GTK.
So I figured, it's only 10 images, I'll just make them in svg.

I vaguely remembered a heathenx inkscape podcast describing how to make an LCD display and decided to use that at my base. Unfortunately, they didn't provide any source files in the show-notes (as far as I could see) so I had to watch and redo the drawings myself!

By naming each of the seven segments I could create the 10 digits simply by deleting a few elements in one template svg file.  I can create the template as beautiful as I like and quickly create the 10 derived images with these programs.





Unfortunately, both ImageMagick and GraphicsMagick don't handle svg blur properly so my little routine to make the nice combined image doesn't work correctly, but here's what a blurred (glowing) digit might look like.

So the you have it, some open source 7 segment SVG digits for you to use.

Comments

Anonymous said…
This comment has been removed by a blog administrator.
ian said…
Very informative, thank you. I’ve been blogging on and off for almost 3 years, but have never had much of a focus – I tend to just write about whatever is on my mind when I feel like writing.
Cheers!
Unknown said…
This comment has been removed by the author.

Popular posts from this blog

Shortest Sudoku solver in Python

Dot to Png