【问题标题】:Adding fonts in windows 8 javascript application (@font-face)在 Windows 8 javascript 应用程序中添加字体 (@font-face)
【发布时间】:2012-11-25 19:46:19
【问题描述】:

在 windows 8 java script 应用程序上工作,我添加了如下新字体:

  @font-face{
  font-family: "myalpha";
  src: url("/fonts/myAlpha.ttf") format('truetype');
  } 

这产生了一个错误:

@font-face failed OpenType embedding permission check. Permission must be Installable.

这是什么意思?不支持 truetype 字体吗?

【问题讨论】:

    标签: css windows-8


    【解决方案1】:

    您需要将 True Type 字体的嵌入级别更改为 installable embedding allowed。 你可以使用这个tool,但要确保字体许可允许嵌入。

    【讨论】:

    • 当我运行该工具时,控制台出现然后立即消失。
    • 然后从 cmd 运行它。 technixupdate.com/…
    猜你喜欢
    • 1970-01-01
    • 2017-05-31
    • 2019-12-05
    • 1970-01-01
    • 2010-11-22
    • 2013-01-15
    • 2016-10-16
    • 2013-02-26
    • 1970-01-01
    相关资源
    最近更新 更多