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 字体文件,安装方式与其他字体相同。仓库中提供两个版本,通常只需选择其中一个。
我该怎么用起来?从仓库的 Latest Release 页面下载预构建的 .ttf 文件,安装你需要的那一个。当前版本对应 Unicode 18.0.0。
使用它需要安装 Python 或 AFDKO 吗?不需要,使用预构建字体无需 Python 或 AFDKO。只有当你想通过运行 build.sh 从源码构建字体时,才需要 Python 3 和 AFDKO。
我该选哪个版本:Last Resort 还是高效版?除非你确定运行环境支持,否则请选择常规版 LastResort-Regular.ttf。高效版(LastResortHE-Regular.ttf)体积小得多,但它使用了许多 Windows 和 Adobe 应用不支持的 cmap Format 13 子表。
每个字形到底显示什么?字形会标示字符所属的 Unicode 区块:使用一个代表性符号,并在大字号下可见小号的区块名称和码位范围。未分配码位和 66 个非字符各自都有专门的字形类型。
这个备用字形有什么用?用户看到的不是空白方框,而是一个能提示文字系统或字符类型的符号;熟悉该文字的人可以据此判断需要安装哪款字体才能正确显示文本。
大小
8.2 MB
星标
884
时长
6年
提交 · 90 天