跨平台的 PNG-in-OTF 字体是否有效?

Are cross-platform PNG-in-OTF fonts possible efficiently?

最新版本 Opentype font format (1.8 as of late 2016) standardizes two different tables to embed PNG bitmap data: Google’s CBDT (together with CBLC) and Apple’s sbix. Furthermore, the SVGs in Mozilla’s SVG  table 也可以嵌入或引用 PNG。

是否可以将 PNG 块嵌入一次并在至少两个表中使用它们来制作不超过需要的跨平台表情符号字体文件?

附带问题:PNG 块是否可以重复用于多个字形,例如索引调色板?

PS:我知道 Apple 的操作系统会使用具有 PS 名称 AppleColorEmoji.

的字体覆盖表情符号

您不能跨 table 分享图像,例如在 sbix table cbdt table 中使用 PNG 图片。但是,如果您使用完全相同的图像文件,它们可能 "deduped" 在压缩的 WOFF 中。

奇怪的是 CBDT/CBLC 规范说 glyf table 不应该存在,而其他格式则需要它。因此,您不能将 cbdtsbixsvg table 放在字体中。但是你可以结合后两者在 Windows 和 OSX.

上获得相对较好的支持