Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

otf格式字体文件运行失败,不支持 #205

Open
Volcano-Yang opened this issue Sep 14, 2022 · 4 comments
Open

otf格式字体文件运行失败,不支持 #205

Volcano-Yang opened this issue Sep 14, 2022 · 4 comments

Comments

@Volcano-Yang
Copy link

复现文件

测试字体包.zip

复现html

`

<title>Document</title> <style> @font-face { font-family: "DIN"; src: url("./DIN-Bold.ttf"); font-weight: normal; font-size: normal; }
  @font-face {
    font-family: "TencentSans";
    src: url("./TencentSans.ttf");
    font-weight: normal;
    font-size: normal;
  }

  .font1 {
    font-family: "DIN";
    font-size: 20px;
  }

  .font2 {
    font-family: "TencentSans";
    font-size: 20px;
  }
</style>
1 2 3 4 5 6 7 8 9 0
免 费 1 2 3 4 5 6 7 8 9 0
`
@Volcano-Yang Volcano-Yang changed the title otf格式文件似乎不支持 otf格式文件运行失败,不支持 Sep 14, 2022
@Volcano-Yang Volcano-Yang changed the title otf格式文件运行失败,不支持 otf格式字体文件运行失败,不支持 Sep 14, 2022
@Volcano-Yang
Copy link
Author

image

暂时处理方式,在工具网站上otf转ttf

https://cloudconvert.com/otf-to-ttf

@zdl958112850
Copy link

那个网站 转出来的字体 只有7k

image

暂时处理方式,在工具网站上otf转ttf

https://cloudconvert.com/otf-to-ttf

那个网站 转出来的字体 只有7k

@joze2016
Copy link

image

暂时处理方式,在工具网站上otf转ttf

https://cloudconvert.com/otf-to-ttf

这个网站有问题好像,大家还有什么工具能做otf to ttf转换吗?

@J-co1e
Copy link

J-co1e commented Mar 27, 2024

otf文件可以下个font lab,导入otf文件后再选择导出为ttf就行了,试过可行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants