last-resort-font README

README проекта с github.com/unicode-org/last-resort-font. Одним файлом markdown: README.md.

Last Resort Font

Last Resort is a special-purpose font that includes a collection of glyphs to represent types of Unicode characters. These glyphs are specifically designed to allow users to recognize that a code point is one of the following:

Downloading the fonts

The latest pre-built binaries of the Last Resort fonts, which correspond to Unicode Version 18.0.0, can be easily downloaded from the Latest Release. These fonts may be updated for future versions of the Unicode Standard as time and resources permit.

Last Resort & Last Resort High-Efficiency

This repository includes two versions of the Last Resort font: Last Resort and Last Resort High-Efficiency. Although both fonts can be installed at the same time—because they have different names—you are encouraged to download and install only the one that is expected to work in the environments that you use:

Both fonts’ 'cmap' tables include a Format 4 (Segment mapping to delta values) subtable, which is a Windows OS requirement. That of the Last Resort High-Efficiency font is a stub (aka empty) subtable.

Description

The glyphs of the Last Resort fonts are used as the backup of “last resort” to any other font: if a font cannot represent any particular Unicode character, the appropriate “missing” glyph from the Last Resort fonts is displayed instead. This provides users with the ability to more easily discern what type of character it is, and provides a clue as to what type of font they would need to display the characters properly. For more information, see The Unicode Standard, Section 5.3, Unknown and Missing Characters.

Overall, there are a number of advantages to using the Last Resort fonts for unrepresentable characters:

Unicode blocks are illustrated by a representative glyph from the block, chosen to be as distinct as possible from glyphs of other blocks. A square surrounding frame provides a common, recognizable element, and embedded within the edge of this frame, only visible at large size, are a form of the block name and its code point range to aid in identification.

Sinhala Hiragana EgyptianHieroglyphs TransportMapSymbol

There are two particularly special types of glyphs in the fonts. One of the types represents any unassigned code point in an existing block. The other type represents the 66 noncharacter code points: FDD0..FDEF, FFFE..FFFF, 1FFFE..1FFFF, 2FFFE..2FFFF, 3FFFE..3FFFF, 4FFFE..4FFFF, 5FFFE..5FFFF, 6FFFE..6FFFF, 7FFFE..7FFFF, 8FFFE..8FFFF, 9FFFE..9FFFF, AFFFE..AFFFF, BFFFE..BFFFF, CFFFE..CFFFF, DFFFE..DFFFF, EFFFE..EFFFF, FFFFE..FFFFF, and 10FFFE..10FFFF.

UndefinedBMP UndefinedPlane3 NoncharacterBMP1 NoncharacterBMP2

Example glyphs were chosen in a number of ways. For example, almost all of the Brahmic scripts show the initial consonant ka, such as ක for Sinhala. Latin uses the letter A, because it’s the first letter, and because in each Latin block there is a letter A that is easily distinguished. Greek and Cyrillic use their last letters, Ω and Я, respectively, due to their distinctiveness. Most other scripts use their initial character where distinctive.

The Last Resort glyphs were drawn by Apple Inc., Michael Everson of Evertype, and Unicode, Inc.

Building the fonts from source

NOTE: Building the fonts from source requires that Python Version 3 and AFDKO (Adobe Font Development Kit for OpenType) be installed.

To build the fonts from source, simply execute the build.sh file.

Getting Involved

Although the Last Resort Font repository is considered to be stable with no guarantee that it will be updated, suggestions can be provided by submitting a new issue.

Copyright © 1998-2026 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.

A CLA is required to contribute to this project - please refer to the CONTRIBUTING.md file (or start a Pull Request) for more information.

The contents of this repository are governed by the Unicode Terms of Use and are released under the SIL Open Font License, Version 1.1.

last-resort-font (unicode-org/last-resort-font)

Ищем в базе…

Что это?Last Resort — это специальный шрифт, в котором собраны глифы, обозначающие типы символов Unicode. Он служит запасным вариантом: когда ни один другой шрифт не может отобразить символ, вместо него показывается глиф Last Resort, который намекает на блок Unicode символа, статус PUA, статус неназначенного символа или статус noncharacter.
Это шрифт, который нужно установить в систему?Да. Это пара файлов шрифта TrueType, которые устанавливаются так же, как любой другой шрифт. В репозитории есть две версии, обычно нужна только одна.
Как это запустить?Скачайте готовые бинарные файлы .ttf со страницы Latest Release репозитория и установите нужный. Текущий релиз соответствует Unicode 18.0.0.
Нужны ли мне Python или AFDKO для использования?Нет, для использования готовых шрифтов они не нужны. Python 3 и AFDKO понадобятся только в том случае, если вы хотите собрать шрифты из исходников, запустив build.sh.
Какую версию выбрать: Last Resort или High-Efficiency?Выбирайте обычный LastResort-Regular.ttf, если не знаете, что ваше окружение поддерживает другой вариант. Версия High-Efficiency (LastResortHE-Regular.ttf) намного меньше, но использует подтаблицу cmap Format 13, которую многие приложения Windows и Adobe не поддерживают.
Что на самом деле показывает каждый глиф?Глифы обозначают блок Unicode, к которому относится символ, с помощью условного знака и мелкого названия блока с диапазоном кодовых точек, которые видны при большом размере. Неназначенные кодовые точки и 66 noncharacter имеют каждый свой особый тип глифа.
Зачем нужен запасной глиф?Вместо пустого квадрата пользователь видит символ, который намекает на письменность или тип символа, а люди, знакомые с этой письменностью, могут понять, какой шрифт нужно установить, чтобы текст отображался правильно.
Какие есть похожие проекты?source-han-sans, allo, hanji, c64-keyboard-font, awesome-falsehood, pretext, inter, Monocraft
Автор
unicode-org
Размер
8.2 MB
Звёзды
884
Возраст
6 г
Коммиты · 90 дней