Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 iPhone 上看到了一种名为 Apple Color Emoji 的 truetype 字体。它包含可在任何应用程序中使用的 iPhone 上存在的表情符号。
我想知道:
Apple 正在使用 OpenType 标准的专有扩展。基本上,它们只是将预光栅化的彩色 PNG 存储在 TTF 文件中的专有扩展“块”中(参考、确证)。
这样做的唯一原因是因为它们还提供了字体扩展和屏幕之间的完整堆栈(字体光栅化、系统图形库、文本渲染小部件)。没有标准化的方法可以在所有平台/库中实现这一点。
sbix
Apple Color Emoji
现在有四种方法可以在 Open Type 字体中实现颜色:
OpenType 表的完整列表。
ttx您可以使用FontTools( pypi , github )拆卸/重新组装字体以获取更多详细信息。
ttx