OEM Code Page bit of OS2.ulCodePageRange

ClintGoss
Posts: 66
When should / would I set bit 30 of the OS2.ulCodePageRange1?
The spec simply says "OEM Character Set" and I've run into a dead end looking for more info. Many fonts do seem to have this turned on ...
The spec simply says "OEM Character Set" and I've run into a dead end looking for more info. Many fonts do seem to have this turned on ...
Tagged:
0
Comments
-
It probably doesn’t matter, unless you need VERY OLD apps that require linedraw / box drawing characters to recognize your font as supporting such. Modern apps look for codepoint support and do not rely on codepage settings in the fonts. (EDIT: apparently not true!) That said....
The OEM character set was a single-byte character set that included ASCII, linedraw/block drawing characters—and potentially other characters that could vary from font to font, despite occupying the same codepoints.
I do not know, but expect that the standardized part of the OEM character set is/was specifically the same linedraw / block drawing characters we see preserved in the WGL-4 character set: https://en.wikipedia.org/wiki/Windows_Glyph_List_4. That's ~ 48 characters. (The Unicode block for linedraw starts at U+2500 and runs up to U+257F. Block elements go from U+2580 to U+259F.)
I would check the box if I supported those 48 characters. If I supported most but not all?... I would probably change the character set to support them all.
Doubtless some Microsoft folks, especially those who were doing this stuff back in the 80s and 90s, could confirm or contradict my presumptions on this matter.
0 -
Thanks for that info ...Modern apps look for codepoint support and do not rely on codepage settings in the fonts.
It looks at first blush like Code Page 437 is a very close approximation to the OEM bit. There is a note about this at https://en.wikipedia.org/wiki/Windows_code_page#OEM_code_page. I'll start from that and modify as needed ...
0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 814 Font Technology
- 1.1K Technique and Theory
- 629 Type Business
- 449 Type Design Critiques
- 548 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 494 Typography
- 307 History of Typography
- 115 Education
- 72 Resources
- 509 Announcements
- 82 Events
- 107 Job Postings
- 153 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports