Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0ac7e28766
Fetching contributors…

Cannot retrieve contributors at this time

file 29 lines (26 sloc) 0.776 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/usr/local/bin/fontforge

#
# Fontforge script for OCR A
#

# This file is released to the public domain by its author, Matthew Skala.

Open("msk-ocra10.pfb");
SetFontNames("OCRA","OCRA","OCR A","Regular","Matthew Skala (2011-12); based on code by Richard B. Wales (1988-89) and Tor Lillqvist","2");
SelectAll();SetWidth(723);
SelectAll();RoundToCluster(2,2);
SelectAll();RoundToInt();
SelectAll();Simplify(212,3);
SelectAll();AddExtrema();
SelectAll();RoundToInt();
SelectAll();CorrectDirection();
SelectAll();CanonicalStart();
SelectAll();CanonicalContours();
SelectAll();AutoHint();
SelectAll();AutoCounter();
MergeFeature($1);
Generate("OCRA.pfb");
Generate("OCRA.otf");
SetFontOrder(2);
SelectAll();AutoHint();
SelectAll();AutoCounter();
Generate("OCRA.ttf");
Quit(0);
Something went wrong with that request. Please try again.