OCR-A
   HOME

TheInfoList



OR:

OCR-A is a
font In metal typesetting, a font is a particular size, weight and style of a typeface. Each font is a matched set of type, with a piece (a " sort") for each glyph. A typeface consists of a range of such fonts that shared an overall design. In mo ...
created in 1968, in the early days of computer
optical character recognition Optical character recognition or optical character reader (OCR) is the electronic or mechanical conversion of images of typed, handwritten or printed text into machine-encoded text, whether from a scanned document, a photo of a document, a sc ...
, when there was a need for a font that could be recognized not only by the computers of that day, but also by humans. OCR-A uses simple, thick strokes to form recognizable characters. The font is
monospaced A monospaced font, also called a fixed-pitch, fixed-width, or non-proportional font, is a font whose letters and characters each occupy the same amount of horizontal space. This contrasts with variable-width fonts, where the letters and spaci ...
(fixed-width), with the printer required to place glyphs  cm ( inch) apart, and the reader required to accept any spacing between  cm ( inch) and  cm ( inch).


Standardization

The OCR-A font was standardized by the
American National Standards Institute The American National Standards Institute (ANSI ) is a private non-profit organization that oversees the development of voluntary consensus standards for products, services, processes, systems, and personnel in the United States. The orga ...
(ANSI) as ANSI X3.17-1981. X3.4 has since become the
INCITS The InterNational Committee for Information Technology Standards (INCITS), (pronounced "insights"), is an ANSI-accredited standards development organization composed of Information technology developers. It was formerly known as the X3 and NCITS. ...
and the OCR-A standard is now called ISO 1073-1:1976. There is also a German standard for OCR-A called DIN 66008.


Implementations

In 1968,
American Type Founders American Type Founders (ATF) Co. was a business trust created in 1892 by the merger of 23 type foundries, representing about 85% of all type manufactured in the United States. De Vinne, Theodore Low, ''The Practice of Typography,'' Century Com ...
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 CTAN (an acronym for "Comprehensive TeX Archive Network") is the authoritative place where TeX related material and software can be found for download. Repositories for other projects, such as the MiKTeX distribution of TeX, constantly mirror mo ...
. To make the free version of the font more accessible to users of Microsoft Windows, John Sauter converted the Metafont definitions to
TrueType TrueType is an outline font standard developed by Apple in the late 1980s as a competitor to Adobe's Type 1 fonts used in PostScript. It has become the most common format for fonts on the classic Mac OS, macOS, and Microsoft Windows operating ...
using potrace and FontForge in 2004. In 2007, Gürkan Sengün created a
Debian Debian (), also known as Debian GNU/Linux, is a Linux distribution composed of free and open-source software, developed by the community-supported Debian Project, which was established by Ian Murdock on August 16, 1993. The first version of De ...
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. On September 27, 2012, he updated his implementation to version 0.2. In addition to these free implementations of OCR-A, there are also implementations sold by several vendors. As a joke,
Tobias Frere-Jones Tobias Frere-Jones (born Tobias Edgar Mallory Jones; August 28, 1970) is an American type designer who works in New York City. He operates the company Frere-Jones Type and teaches typeface design at the Yale School of Art MFA program. Among his ...
in 1995 created Estupido-Espezial, a redesign with swashes and a
long s The long s , also known as the medial s or initial s, is an archaic form of the lowercase letter . It replaced the single ''s'', or one or both of the letters ''s'' in a 'double ''s sequence (e.g., "ſinfulneſs" for "sinfulness" and "poŠ...
. It was used in a "technology"-themed section of ''
Rolling Stone ''Rolling Stone'' is an American monthly magazine that focuses on music, politics, and popular culture. It was founded in San Francisco, California, in 1967 by Jann Wenner, and the music critic Ralph J. Gleason. It was first known for its ...
''.


Use

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. Its usage remains widespread in the encoding of
check Check or cheque, may refer to: Places * Check, Virginia Arts, entertainment, and media * ''Check'' (film), a 2021 Indian Telugu-language film * ''The Checks'' (episode), a 1996 TV episode of ''Seinfeld'' Games and sports * Check (chess), a thr ...
s around the world. Some lock box 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. Notably, it is used for the subtitles in films and television series such as ''
Blacklist Blacklisting is the action of a group or authority compiling a blacklist (or black list) of people, countries or other entities to be avoided or distrusted as being deemed unacceptable to those making the list. If someone is on a blacklist, ...
'' and for the main titles in '' The Pretender''. Additionally, OCR-A is used for the films '' Crimson Tide'' and '' 13 Hours: The Secret Soldiers of Benghazi''.


Code points

A font is a set of character shapes, or
glyphs A glyph () is any kind of purposeful mark. In typography, a glyph is "the specific shape, design, or representation of a character". It is a particular graphical representation, in a particular typeface, of an element of written language. A g ...
. For a computer to use a font, each glyph must be assigned a
code point In character encoding terminology, a code point, codepoint or code position is a numerical value that maps to a specific character. Code points usually represent a single grapheme—usually a letter, digit, punctuation mark, or whitespace—but ...
in a
character set Character encoding is the process of assigning numbers to graphical characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using digital computers. The numerical values tha ...
. When OCR-A was being standardized the usual character coding was the
American Standard Code for Information Interchange ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
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 Unicode, formally The Unicode Standard,The formal version reference is is an information technology standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems. The standard, ...
, also known as
ISO 10646 ISO is the most common abbreviation for the International Organization for Standardization. ISO or Iso may also refer to: Business and finance * Iso (supermarket), a chain of Danish supermarkets incorporated into the SuperBest chain in 2007 * Iso ...
. 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.


Pre-Unicode standard representation

The ISO standard
ISO 2033 The ISO 2033:1983 standard (''"Coding of machine readable characters (MICR and OCR)"'') defines character sets for use with Optical Character Recognition or Magnetic Ink Character Recognition systems. The Japanese standard JIS X 9010:1984 (''"Codin ...
:1983, and the corresponding
Japanese Industrial Standard are the standards used for industrial activities in Japan, coordinated by the Japanese Industrial Standards Committee (JISC) and published by the Japanese Standards Association (JSA). The JISC is composed of many nationwide committees and play ...
JIS X 9010:1984 (originally JIS C 6229-1984), define character encodings for OCR-A,
OCR-B OCR-B is a monospace font developed in 1968 by Adrian Frutiger for Monotype by following the European Computer Manufacturer's Association standard. Its function was to facilitate the optical character recognition operations by specific electron ...
and
E-13B Magnetic ink character recognition code, known in short as MICR code, is a character recognition technology used mainly by the banking industry to streamline the processing and clearance of cheques and other documents. MICR encoding, called the ' ...
. For OCR-A, they define a modified 7-bit ASCII set (also known by its
ISO-IR ISO/IEC 2022 ''Information technology—Character code structure and extension techniques'', is an ISO/IEC standard (equivalent to the ECMA standard ECMA-35, the ANSI standard ANSI X3.41 and the Japanese Industrial Standard JIS X 0202) in the f ...
number ISO-IR-91) including only uppercase letters, digits, a subset of the punctuation and symbols, and some additional symbols. Codes which are redefined relative to ASCII, as opposed to simply omitted, are listed below: Additionally, the long vertical mark () is encoded at 0x7C, corresponding to the ASCII vertical bar (, ).


Dedicated OCR-A characters in Unicode

The following characters have been defined for control purposes and are now in the "Optical Character Recognition" Unicode range 2440–245F:


Space, digits, and unaccented letters

All 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.


Regular characters

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.


Remaining characters

Linotype coded the remaining characters of OCR-A as follows:


Additional characters

The fonts that descend from the work of Tor Lillqvist and Richard B. Wales define four characters not in OCR-A to fill out the ASCII character set. These shapes use the same style as the OCR-A character shapes. They are: Linotype also defines additional characters.


Exceptions

Some implementations do not use the above code point assignments for some characters.


PrecisionID

The PrecisionID implementation of OCR-A has the following non-standard code points: * OCR Hook at U+007E * OCR Chair at U+00C1 * OCR Fork at U+00C2 * Euro Sign at U+0080


Barcodesoft

The Barcodesoft implementation of OCR-A has the following non-standard code points: * OCR Hook at U+0060 * OCR Chair at U+007E * OCR Fork at U+005F * Long Vertical Mark at U+007C (agrees with Linotype) * Character Erase at U+0008


Morovia

The Morovia implementation of OCR-A has the following non-standard code points: * OCR Hook at U+007E (agrees with PrecisionID) * OCR Chair at U+00F0 * OCR Fork at U+005F (agrees with Barcodesoft) * Long Vertical Mark at U+007C (agrees with Linotype)


IDAutomation

The IDAutomation implementation of OCR-A has the following non-standard code points:Information page for the IDAutomation implementation of the OCR-A and OCR-B fonts
/ref> * OCR Hook at U+007E (agrees with PrecisionID) * OCR Chair at U+00C1 (agrees with PrecisionID) * OCR Fork at U+00C2 (agrees with PrecisionID) * OCR Belt Buckle at U+00C3


Sellers of font standards


Hardcopy of ISO 1073-1:1976, distributed through ANSI, from Amazon.com

ISO 1073-1 is also available from Techstreet, who distributes standards for ANSI and ISO


See also

*
Magnetic ink character recognition Magnetic ink character recognition code, known in short as MICR code, is a character recognition technology used mainly by the banking industry to streamline the processing and clearance of cheques and other documents. MICR encoding, called the ' ...
*
Optical character recognition Optical character recognition or optical character reader (OCR) is the electronic or mechanical conversion of images of typed, handwritten or printed text into machine-encoded text, whether from a scanned document, a photo of a document, a sc ...
*
Westminster (typeface) Westminster (not to be confused with Westminster Old Style) is a printing and display typeface inspired by the machine-readable numbers printed on cheques and designed by Leo Maggs.OCR-B OCR-B is a monospace font developed in 1968 by Adrian Frutiger for Monotype by following the European Computer Manufacturer's Association standard. Its function was to facilitate the optical character recognition operations by specific electron ...


Notes


External links


Introductory article about OCR fonts

Link standard ANSI INCITS 17-1981 (R2002)

Background on ISO work involving OCR-A

Unicode code charts


{{ISO standards Monospaced typefaces Sans-serif typefaces Microsoft typefaces ISO standards Open-source typefaces Optical character recognition OCR typefaces American Type Founders typefaces Computer-related introductions in 1968