Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

OCR-A

From Wikipedia, the free encyclopedia
(Redirected fromOCR A Extended)
Typeface designed for early computer OCR
OCR-A
CategorySans-serif
Commissioned byAmerican National Standards Institute
FoundryAmerican Type Founders
Date released1966
VariationsOCR-A Extended
Sample

OCR-A is afont issued in 1966[1] and first implemented in 1968.[2][3] A special font was needed in the early days of computeroptical character recognition, when there was a need for a font that could be recognized not only by the computers of that day, but also by humans.[4] OCR-A uses simple, thick strokes to form recognizable characters.[5]The font ismonospaced (fixed-width), with the printer required to place glyphs0.254 cm (0.10 inch) apart, and the reader required to accept any spacing between0.2286 cm (0.09 inch) and0.4572 cm (0.18 inch).

Standardization

[edit]

The OCR-A font was standardized by theAmerican National Standards Institute (ANSI)as ANSI X3.17-1981. X3.4 has since become theINCITS and the OCR-A standard is now calledISO 1073-1:1976.

Implementations

[edit]

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.[3]

As metal type gave way to computer-based typesetting, Tor Lillqvist usedMetafont to describe the OCR-A font.[when?] That definition was subsequently improved by Richard B. Wales. Their work is available fromCTAN.[6]

To make the free version of the font more accessible to users of Microsoft Windows, John Sauter converted the Metafont definitions toTrueType usingpotrace andFontForge in 2004.[7] In 2007, Gürkan Sengün created aDebian package from this implementation.[8] In 2008. Luc Devroye corrected the vertical positioning in John Sauter's implementation, and fixed the name of lower case z.[9]

Independently, Matthew Skala[10] used mftrace[11] to convert theMetafont definitions to TrueType format in 2006. In 2011 he released a new version created by rewriting the Metafont definitions to work withMETATYPE1, generating outlines directly without an intermediate tracing step. On September 27, 2012, he updated his implementation to version 0.2.[12]

In addition to these free implementations of OCR-A, there are also implementations sold by several vendors. As a joke,Tobias Frere-Jones in 1995 created Estupido-Espezial, a redesign withswashes and along s. It was used in a "technology"-themed section ofRolling Stone.[13][14]

Maxitype designed the OCR-X typeface—based on the OCR-A typeface with OpenType features, alien/technology-themed dingbats and available in six weights (Thin, Light, Regular, Medium, Bold, Black).[15]

Japanese typeface foundry Visual Design Laboratory designed a typeface for Simplified Chinese characters named Jieyouti, based on the OCR-A typeface and available in five weights (Light, Regular, Medium, Semi Bold, Bold).[16]

Use

[edit]
OCR-A on a Germanbank check. The ⑂, ⑀ and ⑁ characters are used to delimit particular fields in the machine-readable line (shown here partially redacted).

Although optical character recognition technology has advanced to the point where such simple fonts are no longer necessary,[17] the OCR-A font has remained in use. Its usage remains widespread in the encoding ofchecks around the world. Somelock box companies still insist that the account number and amount owed on a bill return form be printed in OCR-A.[18] 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 asBlacklist and for the main titles inThe Pretender. Additionally, OCR-A is used[how?] for the filmsCrimson Tide and13 Hours: The Secret Soldiers of Benghazi. It was also used for the logo, branding, and marketing material of the children's toy lineHexbug.

Code points

[edit]

A font is a set of character shapes, orglyphs. For a computer to use a font, each glyph must be assigned acode point in acharacter set. When OCR-A was being standardized the usual character coding was theAmerican 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 isUnicode, also known asISO 10646. Unicode contains ASCII and has special provisions for OCR characters, so some implementations of OCR-A have looked to Unicode forguidance on character code assignments.

Pre-Unicode standard representation

[edit]

TheISO standardISO 2033:1983, and the correspondingJapanese Industrial Standard JIS X 9010:1984 (originally JIS C 6229–1984), define character encodings for OCR-A,OCR-B andE-13B. For OCR-A, they define a modified 7-bit ASCII set (also known by itsISO-IR number ISO-IR-91) including only uppercase letters, digits, a subset of the punctuation and symbols, and some additional symbols.[19] Codes which are redefined relative to ASCII, as opposed to simply omitted, are listed below:

CharacterImageLocationIn ASCIIComments
£Pound Sign0x23#Matches BS 4730, the United Kingdom variant ofISO 646.[20]
{Left Curly Bracket0x28(Character name is still "LEFT PARENTHESIS", despite showing a brace. Usual left brace ASCII code 0x7B is omitted.[19]
}Right Curly Bracket0x29)Character name is still "RIGHT PARENTHESIS", despite showing a brace. Usual right brace ASCII code 0x7D is omitted.[19]
OCR Hook0x3C<
OCR Chair0x3E>
¥Yen Sign0x5C\MatchesJIS X 0201. Included in JIS X 9010, but omitted by ISO 2033.[19]
OCR Fork0x5D]

Additionally, the long vertical mark (Long Vertical Mark) is encoded at 0x7C, corresponding to the ASCII vertical bar (|).[19]

Dedicated OCR-A characters in Unicode

[edit]
Main article:Optical Character Recognition (Unicode block)

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

Dedicated OCR-A code points based on ASCII and Unicode[21]
NameImageTextUnicode
OCR HookOCR HookU+2440
OCR ChairOCR ChairU+2441
OCR ForkOCR ForkU+2442
OCR Inverted forkU+2443
OCR Belt buckleU+2444
OCR Bow tieU+2445

Space, digits, and unaccented letters

[edit]
OCR-A digits
OCR-A unaccented capital letters
OCR-A unaccented small 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, andU+0061 through U+007A for the unaccented lower case letters.

Regular characters

[edit]

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.

Additional OCR-A code points based on ASCII and Unicode
NameGlyphUnicode
Exclamation MarkExclamation MarkU+0021
Quotation MarkQuotation MarkU+0022
Number SignNumber SignU+0023
Dollar SignDollar SignU+0024
Percent SignPercent SignU+0025
AmpersandAmpersandU+0026
ApostropheApostropheU+0027
Left ParenthesisLeft ParenthesisU+0028
Right ParenthesisRight ParenthesisU+0029
AsteriskAsteriskU+002A
Plus SignPlus SignU+002B
CommaCommaU+002C
Hyphen-MinusHyphen-MinusU+002D
Full Stop (Period)Full Stop (Period)U+002E
Solidus (Slash)Solidus (Slash)U+002F
ColonColonU+003A
SemicolonSemicolonU+003B
Less-Than SignLess-Than SignU+003C
Equals SignEquals SignU+003D
Greater-Than SignGreater-Than SignU+003E
Question MarkQuestion MarkU+003F
Commercial AtCommercial AtU+0040
Left Square BracketLeft Square BracketU+005B
Reverse Solidus (Backslash)Reverse SolidusU+005C
Right Square BracketRight Square BracketU+005D
Circumflex AccentCircumflex AccentU+005E
Left Curly BracketLeft Curly BracketU+007B
Right Curly BracketRight Curly BracketU+007D
Pound Sign (Sterling)Pound SignU+00A3
Yen SignYen SignU+00A5
Latin Capital Letter A with DieresisLatin Capital Letter A with DieresisU+00C4
Latin Capital Letter A with Ring AboveLatin Capital Letter A with Ring AboveU+00C5
Latin Capital Letter AELatin Capital Letter AEU+00C6
Latin Capital Letter N with TildeLatin Capital Letter N with TildeU+00D1
Latin Capital Letter O with DieresisLatin Capital Letter O with DieresisU+00D6
Latin Capital Letter O with StrokeLatin Capital Letter O with StrokeU+00D8
Latin Capital Letter U with DieresisLatin Capital Letter U with DieresisU+00DC

Remaining characters

[edit]

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

Additional OCR-A Characters
NameGlyphUnicodeUnicode Name
Long Vertical MarkLong Vertical MarkU+007CVertical Line

Additional characters

[edit]

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:

Additional ASCII characters
NameGlyphUnicode
Low LineLow LineU+005F
Grave AccentGrave AccentU+0060
Vertical LineVertical LineU+007C
TildeTildeU+007E

Linotype also defines additional characters.[23]

Exceptions

[edit]

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

PrecisionID

[edit]

The PrecisionID implementation of OCR-A has the following non-standard code points:[24]

  • OCR Hook at U+007E
  • OCR Chair at U+00C1
  • OCR Fork at U+00C2
  • Euro Sign at U+0080

Barcodesoft

[edit]

The Barcodesoft implementation of OCR-A has the following non-standard code points:[25][26]

  • 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

[edit]

The Morovia implementation of OCR-A has the following non-standard code points:[27]

  • 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

[edit]

The IDAutomation implementation of OCR-A has the following non-standard code points:[28]

  • 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

[edit]

See also

[edit]

Notes

[edit]
  1. ^National Institute of Standards and Technology (1981).American National Standard Character Set for Optical Character Recognition (OCR-A)(PDF). ANSI X3.17-1981. American National Standards Institute, Inc. p. 3.The OCR-A character set for optical character recognition was first developed in the United States in 1961 as a numeric font only. In 1966 an alphanumeric font which contained 57 characters, including the existing numeric font, 4 abstract characters, and only capital letters, was issued. The revised standard was entitled American National Standard Character Set for Optical Character Recognition, ANSI X3.17-1966.
  2. ^Background on the OCR-A font from Adobe
  3. ^ab"OCR A".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 read by a machine, but it is slightly more difficult for the human eye to read. OCR-A follows the 1981 standard set by the American National Standards Institute (ANSI), X-3.17-1981 (size I). The same design is also specified for the German DIN 66008 standard. OCR-B was designed in 1968 by Adrian Frutiger for Monotype. This design pushes the limits of the optical reader, but is easier for people to read. OCR-B's construction follows the ISO 1073/II-1976 (E) standard, with 1979 corrections (letterpress design, size I). Both OCR-A and OCR-B have "alternate" versions, which have the standard ISO-Adobe character set instead of the more limited OCR character set.
  4. ^Motivation for OCR-A from Microscan
  5. ^"Background on OCR from Embedded Software Engineering". Archived fromthe original on 2016-09-17. Retrieved2012-09-01.
  6. ^The MetaFont sources for OCR-A from CTAN
  7. ^John Sauter's 2004 OCR-A font from those MetaFont sources
  8. ^The fonts-ocr-a Debian packages, based on John Sauter's SourceForge project
  9. ^Luc Devroye's account of his changes to John Sauter's implementation of OCR-A
  10. ^Matthew Skala's home page
  11. ^The mftrace Debian package
  12. ^Matthew Skala's 2012 OCR-A font from the MetaFont sources
  13. ^Hoefler, Jonathan."Two Fools".Hoefler & Co. Retrieved18 September 2021.
  14. ^"Technology, Fall '97".Rolling Stone. No. 774. 1997-11-27. p. 59.
  15. ^"OCR-X typeface". Maxitype. Retrieved24 September 2023.
  16. ^"Jieyouti typeface" (in Japanese). Visual Design Laboratory. Retrieved25 March 2025.
  17. ^"The History of OCR".Data Processing Magazine.12: 46. 1970.
  18. ^"Description of a lockbox service, note "The bill contains an invoice and a statement with patient information contained in a scannable Optical Character Recognition (OCR) line. The OCR line is similar in appearance to that found on a credit card statement or telephone bill.""(PDF). Archived fromthe original(PDF) on 2017-03-01. Retrieved2015-07-30.
  19. ^abcdeISO/TC97/SC2 (1985-08-01).Japanese OCR-A Graphic Character Set(PDF). ITSCJ/IPSJ.ISO-IR-91.{{citation}}: CS1 maint: numeric names: authors list (link)
  20. ^BSI (1975-12-01).The set of graphic characters of the United Kingdom 7-bit data code(PDF). ITSCJ/IPSJ.ISO-IR-4.
  21. ^"Optical Character Recognition"(PDF).Unicode Consortium.Archived(PDF) from the original on 4 January 2023. Retrieved4 January 2023.
  22. ^Linotype's OCR-A font: choose Character Map to see the characters and their coding
  23. ^Linotype's OCR-A Extended font: choose Character Map then Show all
  24. ^PrecisionID User Guide for the PrecisionID implementation of the OCR-A font
  25. ^Information page for the Barcode implementation of the OCR-A font
  26. ^Another source of information about the Barcode fonts
  27. ^Information page for the Morovia implementation of the OCR-A font
  28. ^Information page for the IDAutomation implementation of the OCR-A and OCR-B fonts

External links

[edit]
Wikimedia Commons has media related toOCR-A.
Monospaced programming and typewriter fonts
Sans serif
Vector
Default zero regular
Defaultzero dotted
Defaultzero slashed
Bitmap
Serif
Software
and libraries
Licenses
Operating system,
corporate and
professional
Government
typefaces
Other
typefaces
Groups and
people
Page
Paragraph
Character
Typeface anatomy
Capitalization
Visual distinction
Horizontal aspects
Vertical aspects
Typeface
classifications
Roman type
Blackletter type
Gaelic type
Specialist
Punctuation (List)
Typesetting
Typographic units
Digital typography
Typography in other
writing systems
Related articles
Related template
1–9999
10000–19999
20000–29999
30000+
Retrieved from "https://en.wikipedia.org/w/index.php?title=OCR-A&oldid=1282222852#Additional_characters"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp