Jump to content

OCR-A: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 27: Line 27:
*[[MICR]]
*[[MICR]]
*[[Optical character recognition]]
*[[Optical character recognition]]
*[[Westminster (typeface)]], another typeface designed to be machine-readable.


== Sources ==
== Sources ==

Revision as of 10:44, 17 September 2008

OCR-A
OCR-A
CategorySans-serif

The OCR-A font (other name USASI-A) was developed by the American National Standards Institute (ANSI) to be readable by the computers of the 1960s. The OCR-A font is still used commercially in payment advice forms so that a lockbox company can determine the account number and amount owed on a bill when processing a payment. A site license for the OCR-A font is very expensive, so John Sauter undertook to create a free font that is a clone of OCR-A (as fonts are not copyrightable in the United States). He started with the MetaFont definitions, used FontForge and potrace to construct a TrueType font, then assigned each glyph a Unicode code point.

The shape of each glyph was defined by ANSI as described in their document ANSI X3.17-1977. Those shapes were coded in the MetaFont language as strokes by Tor Lillqvist and Richard B. Wales. Their work is in the .MF files under MetaFont Sources. The MetaFont program and the OCR font definitions are available as part of the TeX package from the CTAN archive.

ANSI specifies a character spacing of between 0.09 and 0.18 inch.

The American National Standards Institute makes the X3.17-1977 document available on their web site for a modest fee. Unfortunately the X3.17-1977 document can not be put here, for completeness, since ANSI has copyright on it. OCR-A was developed by INCITS and has become an International Standard, ISO 1073-1.

See also

Sources