Jump to content

OCR-A: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
SmackBot (talk | contribs)
m Date the maintenance tags or general fixes
No edit summary
Line 8: Line 8:
commercially in payment advice forms so that a [[lockbox]] company can determine
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.
the account number and amount owed on a bill when processing a payment.
A site license for the OCR-A font is very expensive{{Fact|date=May 2008}}, so someone{{Who|date=May 2008}} undertook to create
A site license for the OCR-A font is very expensive, so John Sauter undertook to create
a free font. He started with the [[MetaFont]] definitions, used [[FontForge]] and [[potrace]]
a free font. He started with the [[MetaFont]] definitions, used [[FontForge]] and [[potrace]]
to construct a TrueType font, then assigned each glyph a Unicode code point.
to construct a TrueType font, then assigned each glyph a Unicode code point.

Revision as of 21:15, 12 May 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. 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