| Category | Sans-serif |
|---|---|
| Designer(s) | American Type Founders |
| Commissioned by | American National Standards Institute |
| Date released | 1968 |
| Variations | OCR-A Extended |
In the early days of computer optical character recognition, there was a need for a font that could be recognized by the computers of that day, and by humans. The resulting compromise was the OCR-A font, which used simple, thick strokes to form recognizable characters. The font is monospaced (fixed-width), with the printer required to place glyphs 0.254 cm (0.10 inch) apart, and the reader required to accept any spacing between 0.2286 cm (0.09 inch) and 0.4572 cm (0.18 inch).
Contents |
The OCR-A font was standardized by the American National Standards Institute (ANSI) as X3.4-1977. X3.4 has since become the INCITS and the OCR-A standard is now called ISO 1073-1:1976. There is also a German standard for OCR-A called DIN 66008.
In 1968, American Type Founders produced OCR-A, one of the first optical character recognition typefaces to meet the criteria set by the U.S. Bureau of Standards. The design is simple so that it can be easily read by a machine, but it is more difficult for the human eye to read.
As metal type gave way to computer-based typesetting, Tor Lillqvist used MetaFont to describe the OCR-A font. That definition was subsequently improved by Richard B. Wales. Their work is available from CTAN.
To make the free version of the font more accessible to users of Microsoft Windows, John Sauter converted the MetaFont definitions to TrueType using potrace and FontForge in 2004. In 2007, Gürkan Sengün created a Debian package from this implementation.
In 2008. Luc Devroye corrected the vertical positioning in John Sauter's implementation, and fixed the name of lower case z.
Independently, Matthew Skala used mftrace to convert the Metafont definitions to TrueType format in 2006. In 2011 he released a new version created by rewriting the Metafont definitions to work with METATYPE1, generating outlines directly without an intermediate tracing step.
In addition to these free implementations of OCR-A, there are also implementations sold by several vendors.
Although optical character recognition technology has advanced to the point where such simple fonts are no longer necessary, the OCR-A font has remained in use. Some lockbox companies still insist that the account number and amount owed on a bill return form be printed in OCR-A. Also, because of its unusual look, it is sometimes used in advertising and display graphics.
A font is a set of character shapes, or glyphs. For a computer to use a font then each glyph must be assigned a code point in a character set. When OCR-A was being standardized the usual character coding was the American Standard Code for Information Interchange or ASCII. Not all of the glyphs of OCR-A fit into ASCII, and for five of the characters there were alternate glyphs, which might have suggested the need for a second font. However, for convenience and efficiency all of the glyphs were expected to be accessible in a single font using ASCII coding, with the additional characters placed at coding points that would otherwise have been unused.
The modern descendant of ASCII is Unicode, also known as ISO 10646. Unicode contains ASCII and has special provisions for OCR characters, so some implementations of OCR-A have looked to Unicode for guidance on character code assignments.
All TrueType implementations of OCR-A use U+0020 for space, U+0030 through U+0039 for the decimal digits, U+0041 through U+005A for the unaccented upper case letters, and U+0061 through U+007A for the unaccented lower case letters.
In addition to the digits and unaccented letters, many of the characters of OCR-A have obvious code points in ASCII. Of those that do not, most, including all of OCR-A's accented letters, have obvious code points in Unicode.
John Sauter coded the remaining characters of OCR-A as follows:
Some implementations do not use the above code point assignments for some characters.
The PrecisionID implementation of OCR-A has the following non-standard code points:
The Barcodesoft implementation of OCR-A has the following non-standard code points:
The Moravia implementation of OCR-A has the following non-standard code points:
The IDAutomation implementation of OCR-A has the following non-standard code points:
In addition, the IDAutomation implementation of OCR-A includes the Euro Sign character. The IDAutomation documentation does not specify the code point for the Euro Sign character. Since the code points for OCR Hook, OCR Chair and OCR Fork match those of PrecisionID, the IDAutomation OCR-A font may be a clone of the PrecisionID OCR-A font, in which case the Euro Sign would be coded as U+0080. The standard code point for Euro Sign is U+20AC.
OCR-A Extended is an expanded version of the OCR-A font with 250 glyphs, 62 of which are composite glyphs, supporting the following languages in addition to English:
|
||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||