ArticleslgStudy

computer science

Unicode font

Unicode font is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Unicode font rather than just read about it. In short: A Unicode font is a computer font that maps glyphs to code points defined in the Unicode Standard. The term has become archaic because the vast majority of modern computer fonts use Unicode mappings, even those fonts which only include glyphs for a single writing system, or even only support the basic Latin alphabet.

Key takeaways

  • Unicode font belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Unicode font to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Unicode font from memory before moving on to harder problems.

Reference excerpt

A Unicode font is a computer font that maps glyphs to code points defined in the Unicode Standard. The term has become archaic because the vast majority of modern computer fonts use Unicode mappings, even those fonts which only include glyphs for a single writing system, or even only support the basic Latin alphabet. The distinction is historic: before Unicode, when most computer systems used only eight-bit bytes, no more than 256 characters (or control codes) could be encoded. This meant that each character repertoire had to have its own codepoint assignments – and thus a given codepoint could have multiple meanings. By assuring unique assignments, Unicode resolved this issue. Fonts which support a wide range of Unicode scripts and Unicode symbols are sometimes referred to as "pan-Unicode fonts", although as the maximum number of glyphs that can be defined in a TrueType font is restricted to 65,535, it is not possible for a single TrueType font to provide individual glyphs for all defined Unicode characters (159,801 characters, with Unicode 17.0). This article lists some widely used Unicode fonts (those shipped with an operating system or produced by a well-known commercial font company) that support a comparatively large number and broad range of Unicode characters.

Background The Unicode standard does not specify or create any font (typeface), a collection of graphical shapes called glyphs, itself. Rather, it defines the abstract characters as a specific number (known as a code point) and also defines the required changes of shape depending on the context the glyph is used in (e.g., combining characters, precomposed characters and letter-diacritic combinations). The choice of font, which governs how the abstract characters in the Universal Coded Character Set (UCS) are converted into a bitmap or vector output that can then be viewed on a screen or printed, is left up to the user. If a font is chosen which does not contain a glyph for a code point used in the document, it typically displays a question mark, a box, or some other substitute character. Computer fonts use various techniques to display characters or glyphs. A bitmap font contains a grid of dots known as pixels forming an image of each glyph in each face and size. Outline fonts (also known as vector fonts) use drawing instructions or mathematical formulae to describe each glyph. Stroke fonts use a series of specified lines (for the glyph's border) and additional information to define the profile, or size and shape of the line in a specific face and size, which together describe the appearance of the glyph. Fonts also include embedded special orthographic rules to output certain combinations of letterforms (and alternative symbols for the same letter) be combined into special ligature forms (mixed characters). Operating systems, web browsers (user agent), and other software that extensively use typography, use a font to display text on the screen or print media, and can be programmed to use those embedded rules. Alternatively, they may use external script-shaping technologies (rendering technology or “smart font” engine), and they can also be programmed to use either a large Unicode font, or use multiple different fonts for different characters or languages. No single "Unicode font" includes all the characters defined in the present revision of ISO 10646 (Unicode) standard, as more and more languages and characters are continually added to it, and common font formats cannot contain more than 65,535 glyphs (about half the number of characters encoded in Unicode). As a result, font developers and foundries incorporate new characters in newer versions or revisions of a font, or in separate auxiliary fonts intended specifically for particular languages. UCS has over 1.1 million code points, but only the first 65,536 (the Plane 0: Basic Multilingual Plane, or BMP) had entered into common use before 2000.

See the Unicode planes article for more information on other planes, including: Plane 1: Supplementary Multilingual Plane (SMP), Plane 2: Supplementary Ideographic Plane (SIP), Plane 14: Supplementary Special-purpose Plane (SSP), Plane 15 and 16: reserved for Private Use Areas (PUA). The first Unicode fonts (with very large character sets and supporting many Unicode blocks) were Lucida Sans Unicode (released March 1993), Unihan font (1993), and Everson Mono (1995).

Issues There are typographical ambiguities in Unicode, so that some of the unified Han characters (seen in Chinese, Japanese, and Korean) will be typographically different in different regions. For example, Unicode point U+9AA8 骨 CJK UNIFIED IDEOGRAPH-9AA8 is typographically different between simplified Chinese and traditional Chinese. This has implications for the idea that a single typeface can satisfy the needs of all locales. The design of Unicode ensures that such differences do not create semantic ambiguity, but the use of incorrect forms is often considered visually awkward or aesthetically inappropriate to native readers of East Asian languages.

Application of Unicode fonts Unicode is now the standard encoding for many new standards and protocols, and is built into the architecture of operating systems (Microsoft Windows, Apple Mac OS, and many versions of Unix and Linux), programming languages (Ada, Perl, Python, Java, Common LISP, APL), and libraries (IBM International Components for Unicode (ICU), along with the Pango, Graphite, Scribe, Uniscribe, and ATSUI rendering engines), font formats (TrueType and OpenType) and so on. Many other standards are also getting upgraded to be Unicode-compliant.

Utility software Here is a selection of some of the utility software that can identify the characters present in a font file:

Character Map, applet included with Microsoft Windows Font Book, application included with Mac OS GNOME Character Map, application included with the GNOME desktop environment BabelMap, third-party software for Windows

List of Unicode fonts

Of the many Unicode fonts available, those listed below are the most commonly used worldwide on mainstream computing platforms.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Unicode font

Start with the simplest possible case. Write down what Unicode font claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Unicode font before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Unicode font ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Unicode font

In research
Unicode font appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Unicode font in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Unicode font is common in secondary-school and first-year university syllabi. It links to neighbouring topics Natural language and computing, Unicode, Unicode typefaces, so understanding it makes those chapters shorter.
In everyday life
Look for Unicode font outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Unicode font in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Unicode font means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Unicode font out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Unicode font in simple terms?

A Unicode font is a computer font that maps glyphs to code points defined in the Unicode Standard. The term has become archaic because the vast majority of modern computer fonts use Unicode mappings, even those fonts which only include glyphs for a single writing system, or even only support the ba…

Why does Unicode font matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Unicode font?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Unicode font.

Tags

  • Natural language and computing
  • Unicode
  • Unicode typefaces

Keep exploring