Comments (11)
@tatsuketer 请问问题最后如何解决的?
from fontmin.
@hooozen 我发现了一个第三方的字体库 Pal3love/Source-Han-TrueType ,提供了 TTF
字体,某种程度上是可以解决这个问题,但是当我实际使用之后发现,依然存在字体偏移的问题。
所以我放弃了 Fontmin
(它似乎也无法正常地通过 vercel/pkg 打包),转而使用了更加底层(大概)的 OpenTypeJS,不过这个需要一部分的学习成本。
from fontmin.
@tatsuketer 非常感谢!看起来 opentypejs 这个库正是我要找的
from fontmin.
@tatsuketer 你好,我查看了 OpenTypeJS,但目前它好像还不支持可变字体(Variable Font)的编辑,查看 issue483。你最终是使用了多字体文件吗?
from fontmin.
@hooozen 是这样的,我依然使用了上述提到的第三方字库,在 OpenTypeJS 中使用了多个静态字体文件。
from fontmin.
@tatsuketer 谢谢!
from fontmin.
试试 iconfont 的在线子集服务,支持 OTF 和可变字体等:https://www.iconfont.cn/fonts/detail?spm=a313x.7781069.1998910419.d9df05512&cnid=nsKKStjV4gdI
from fontmin.
@yisibl 这个是在线手动生成的,没有找到脚本下载。另外,我看页面中也需要下载多个字重文件。
from fontmin.
@hooozen 下载多个字重文件是啥意思?
from fontmin.
问题依然存在
from fontmin.
@hooozen 下载多个字重文件是啥意思?
就是需要粗体、细体、常规之类的不同字重的字体.
from fontmin.
Related Issues (20)
- 为什么英文字体压缩后与之前不同 HOT 1
- 异步处理多个字体,如果处理的多个字体提取文字有重复,某些字体的mini文件字集有其他字体结果
- 阿拉伯字体提取后,丢失复合字形,连笔样式失效 HOT 2
- linux 获取字体乱码 压缩后的字体是乱码的
- Fontmin不能在Sketch插件中使用
- writing-mode: vertical-lr; 竖排文字时,文本的高度变高 HOT 1
- invalid character in attribute value Below is a rendering of the page up to the first error.
- 生成字体的时候提示" 类型错误 :无法读取未定义的属性'轮廓'" HOT 1
- webpack下编译报错 HOT 3
- ERR_REQUIRE_ESM occurs when just invoke `fontmin` HOT 2
- Will Fontmin-osx64 continue to be updated? HOT 1
- 大佬什么时候更新客户端啊?空格怎么配才可以导出来? HOT 1
- 压缩谷歌字体时报错: TypeError: Cannot read property 'contours' of undefined HOT 2
- 项目引入fontmin编译报错
- ttf 字体提取后,粗体支持丢失
- 网站无法访问 HOT 1
- Fontmin Library Fails to Consider Customizations via `font-feature-settings`
- Output fails ots-sanitize, can’t be loaded in Firefox nightly
- Support ESM HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fontmin.