【问题标题】:Adding png meme/icon to existing true type or open type font将 png meme/icon 添加到现有的 true type 或 open type 字体
【发布时间】:2021-10-01 08:48:17
【问题描述】:

我想将 png 图标添加到现有字体中,以便在 macOS 上的终端中使用。我已经研究过使用 python fonttools 包,但我无法弄清楚如何将 png 添加到字体中。听起来我需要修改/添加 sbix 表,但我正在努力寻找发生这种情况的示例。这可能吗?

【问题讨论】:

    标签: fonts emoji truetype opentype ttx-fonttools


    【解决方案1】:

    您可以使用 ttx(来自 fonttools 的别名)来提取和打包您的字体。

    ttx -z extfile YourFont
    

    文档:https://fonttools.readthedocs.io/en/latest/ttx.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-11-09
      • 2012-08-12
      • 1970-01-01
      • 2010-11-08
      • 2012-04-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多