My handwriting is atrocious. It’s scrawly, uneven, with malformed letters (r never recovered from Miss MacFarlane’s ligatures, t usually left unstroked) meandering up and down the line. It’s got blotchy, affected borrowings, too: tailed and stroked 1s and 7s in the European style, and a d that was least seen in a partial differential: 𝛿. In short, a style all my own, wanted by none.
I’d prefer to have my handwriting legible to others, and even by me. I don’t want my notebooks to look like a spider’s hauled its bedraggled carapace out of the inkwell onto the page. Unfortunately, cursive is right out to learn. I can’t read it, in any style. In fact, I find the German Sütterlin to be as logical to learn, as I can’t read that either, but at least it looks badass.
The style I’m trying is pre-cursive. Yes, it’s meant as a transition from printing to cursive, but I like its simple clean italic lines. I imagine I’ll join it up a deal more when I’m writing quickly. The hardest part for me is sticking to the line and stopping my writing wandering off up the page.
Hey, this post is super old!
That means that installation and run instructions may not work as well, or even at all. Most of the *Ports Apple software repositories have given way to Homebrew: you may have some success on Mac (untested by me) if you brew install netpbm fontforge potrace. There’s also some font cleanup I’d recommend, like resolving overlaps, adding extrema, and rounding points to integer. One day I may update this post, but for now, I’m leaving it as is.
This looks more than a bit like my handwriting
because it is my handwriting! Sure, the spacing of the punctuation needs major work, and I could have fiddled with the baseline alignment, but it’s legible, which is more than can usually be said of my own chicken-scratch.
This process is a little fiddly, but all the parts are free, and it uses free software. This all runs from the command line. I wrote and tested this on a Mac (with some packages installed from DarwinPorts), but it should run on Linux. It might need Cygwin under Windows; I don’t know.
Print at least the first page of chargrid.pdf. The second page is guidelines that you can place under the page. This doesn’t work very well if you use thick paper.
Draw your characters in the boxes. Keep well within the lines; there’s nothing clever about how fonttrace.pl splits the page up.
Scan the page, making sure the page is as straight as possible and the scanner glass is spotless. You want to scan in greyscale or black and white.
Crop/rotate/skew the page so the very corners of the character grid table are at the edges of the image, like this: I find it helpful at this stage to clean off any specks/macules. I also scale and threshold the image so I get a very dark image at 300-600dpi.
Save the image as a Portable Bitmap (PBM). It has to be 1-bit black and white. You might want to put a new font in a new folder, as the next stage creates lots of files, and might overwrite your old work.
Run fonttrace.pl like this: fonttrace.pl infile.pbm | sh
If you miss out the call to the shell, it will just print out the commands it would have run to create the character tiles.
This should result in a bunch of files called uniNNNN.png in the current folder, like these:
Fire up FontForge. You’ll want to create a New font. Now File→Import…, and use Image Template as the format. Point it at the first of the image tiles (uni0020.png), and Import.
Select Edit→Select→All, then Element→Autotrace. You’ll see your characters appear in the main window.
And that’s – almost – it. You’ll need to fiddle with (auto)spacing, set up some kerning tables, set the font name (in Element→Font Info … – and you’ll probably want to set the em scale to 1024, as TrueType fonts like powers of two), then File→Generate Fonts. Fontforge will throw you a bunch of warnings and suggestions, and I’d recommend reading the help to find out what they mean.
There are a couple of limitations to the process:
Most of the above process could be written into a FontForge script to make things easier
Only ASCII characters are supported, to keep the number of scanned pages simple. Sorry. I’d really like to support more. You’re free to build on this.
Lastly, a couple of extra files:
CrapHand2.pbm – a sample array drawn by me, gzipped for your inconvenience (and no, I don’t know why WordPress is changing the file extension to ‘pbm_’ either).
chargrid.ods – the OpenOffice spreadsheet used to make chargrid.pdf
Well, yes, according to YourFonts.com. You write into a special template, scan it, upload it to their website, add your signature and bank details, and you get a TTF of what you wrote. Next time, I’ll be a bit more careful with baseline alignment.
I might mess with the alignment and kerning in FontForge, but otherwise I like it.