Fonts and character encodings

  • a) Do fonts know anything about coded character sets (Unicode, ASCII, etc.)? In other words, does the font file indicate which coded character sets the font can use?
    b) I assume that if a font supports certain encoded character sets, then can any character encoding (same code page) for this coded character set use this font?

  • a) Does the font file indicate which code a particular glyph points to?
    b) Can a glyph be displayed at once on several code points? If so, how is the correct match (glyphs with code points) chosen when an application tries to match this font with a specific coded character set?
    c) Is the font basically a file with instructions on how to draw its glyphs? If so, then I assume that each font has its own set of glyphs (i.e., its own set of instructions on how to draw glyphs)?

thank

+3
source share
1 answer

Many questions cannot answer them in detail, like this:

  • and. Yes B. Yes

  • and. Yes B. Do not know C. Yes

, .TTF/.OTF, : http://www.microsoft.com/typography/otspec/otff.htm

, , Fonts, , ,.NET, WPF : http://msdn.microsoft.com/en-us/library/ms748335.aspx.

+3

Source: https://habr.com/ru/post/1766640/


All Articles