【问题标题】:Cannot import ttf font in Monogame无法在 Monogame 中导入 ttf 字体
【发布时间】:2020-10-24 11:40:39
【问题描述】:

我正在开发一个 Monogame 项目,为此我需要将 ttf 字体导入 XNA。

在 Monogame 管道工具中,每当我尝试构建字体文件时,都会发生错误并告诉我 Could not find an default importer for 'C:/path/to/ttf/file/file.ttf

我使用了一个 file.spritefont 并像 monogame 文档中所说的那样对其进行了修改。

【问题讨论】:

    标签: fonts xna monogame truetype


    【解决方案1】:

    如果您提供更多信息,我很乐意提供帮助,请确保包括以下内容:file.spritefont 的内容和内容目录的内容。

    这些事情可能会导致问题:

    • File.ttf 可能不在 /Contnet 中
    • file.ttf 可能不喜欢 file.spritefont

    祝你有美好的一天!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-10-02
      • 1970-01-01
      • 1970-01-01
      • 2018-09-27
      • 1970-01-01
      • 2021-12-12
      • 2018-11-26
      • 1970-01-01
      相关资源
      最近更新 更多