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 electronic devices, originally for financial and bank-oriented uses. It was accepted as the world standard in 1973. It follows the ISO 1073-2:1976 (E) standard, refined in 1979 ("letterpress" design, size I). It includes all ASCII symbols, and other symbols needed in the bank environment. It is widely used for the human readable digits in UPC/EAN barcodes. It is also used for machine-readable passports. It shares that purpose with OCR-A, but it is easier for the human eye and brain to read and it has a less technical look than OCR-A.
In June 1961, the European Computer Manufacturers Association (ECMA) started standardization activities related to Optical Character Recognition (OCR). After evaluating existing OCR designs, it was decided to develop two new fonts: A stylized design with just digits, called “Class A”; and a more conventional type design with broader character coverage, called “Class B”. In February 1965, ECMA proposed a design for the “Class B” font to ISO, who adopted it as international standard ISO 1073-2 in October 1965. The first revision contained three font sizes: I, II and III. The specification included a Letterpress design, intended for high-quality printing equipment; and a rounded-edge Constant Strokewidth design for impact printers:3 with reduced typographic quality.
In September 1969, ECMA started work to revise its published standard. To make OCR-B more widely accepted, the shapes of some characters were slightly modified. The new revision removed font size II, which had been rarely used in practice; it deleted five character shapes; and it added a new font size IV. ECMA published the second edition of OCR-B in October 1971.
In March 1976, ECMA published a third revision of its ECMA-11 specification. It added the symbols § and ¥ to OCR-B; two types of erasure marks (█) for blackening out mis-printed characters were added; and the length of the Vertical bar was changed to match ISO 1073-2.
In 1993, Turkey proposed extending ISO 1073-2 to include the Turkish letters Ğğ, İı, and Şş. The request was generalized to extend OCR-B with a number of Latin and Greek letters used in European languages.:27 A revision of the ISO 1073-2:1976 standard was therefore started, producing three successive draft documents. The final draft would have extended OCR-B with 40 Latin and 10 Greek letters; for six Latin letters, the draft gave new alternate shapes.:26 A request to extend OCR-B with Vietnamese accents was rejected.:27 Other than previous versions of the standard, which specified glyph shapes via reference drawings, the new revision would have included the shapes in machine-readable form.:26 However, industry support for testing the new font could not be secured at the time, so the revision effort was halted in 1997.:IV The working group described their findings in a technical report.:1
In June 1998, the European Committee for Standardization published a report for adding the Euro sign to OCR-B. The report proposed both a single-stroked and a double-stroked variant of the Euro sign, leaving the decision to further testing of OCR performance.:4 Testing was difficult: the theoretical design methods used when the OCR-B glyphs were originally developed could no longer be reproduced, and the technological constraints of the 1960s were also not entirely relevant anymore in the OCR environments of the 1990s. A new test method was devised, using present-time OCR technology. The tests found no difference in OCR performance between the two Euro variants, and recommended the adoption of the double-stroked variant as it matches the conventional glyph shape. The project did not have funds to thorougly test the glyph extensions of the 1993 proposal; initial results were inconclusive.
The TeX typesetting system has a public domain Constant Strokewidth OCR-B font in METAFONT definition form. It was created by Norbert Swartz in 1995 and updated in 2010. It has a setting for square stroke ends. The definition has also been translated to METATYPE1, so the rounded version is available in TrueType and OpenType too.
- Frutiger, Adrian. Type. Sign. Symbol. ABC Verlag, Zurich, 1980. p. 50
- "GS1 Human Readable Interpretation (HRI) Implementation Guideline" (PDF). GS1 AISBL. 2018. p. 13. Retrieved 2018-09-27.
- Microsoft Word - Doc.9303.Part.03.7th.Edition.alltext.en.docx - 9303_p3_cons_en.pdf (PDF). Doc 9303: Machine Readable Travel Documents, Part 3: Specifications Common to all MRTDs (Seventh ed.). International Civil Aviation Organization. 2015. p. 25. ISBN 978-92-9249-792-7. Retrieved 2016-03-03.
- "Standard ECMA-11 for the Alphanumeric Character Set OCR-B for Optical Recognition" (PDF). European Computer Manufacturers Association. March 1976. Section “Brief History”.
- "Draft Report on the Euro Glyph in OCR-B" (PDF). June 28, 1998.
- Karl Ivar Larsson (August 8, 2000). "Notes on transfer of responsibility for OCR-B standards".
- "Proposal for Type 3 Technical Report, TR 15907, Information technology — Revision of OCR-B standard (ISO 1073/II-1976)" (PDF). September 28, 1998.
- Karsson, Kent Ivar (June 28, 1998), Report to TC304 on OCR-B situation, Unicode Technical Committee, Unicode Consortium, UTC Document L2/01-259
|Wikimedia Commons has media related to OCR-B.|