Coder Social home page Coder Social logo

动态字体提取 about fontmin HOT 11 OPEN

tuyuritio avatar tuyuritio commented on June 10, 2024 1
动态字体提取

from fontmin.

Comments (11)

hooozen avatar hooozen commented on June 10, 2024

@tatsuketer 请问问题最后如何解决的?

from fontmin.

tuyuritio avatar tuyuritio commented on June 10, 2024

@hooozen 我发现了一个第三方的字体库 Pal3love/Source-Han-TrueType ,提供了 TTF 字体,某种程度上是可以解决这个问题,但是当我实际使用之后发现,依然存在字体偏移的问题。

所以我放弃了 Fontmin (它似乎也无法正常地通过 vercel/pkg 打包),转而使用了更加底层(大概)的 OpenTypeJS,不过这个需要一部分的学习成本。

from fontmin.

hooozen avatar hooozen commented on June 10, 2024

@tatsuketer 非常感谢!看起来 opentypejs 这个库正是我要找的

from fontmin.

hooozen avatar hooozen commented on June 10, 2024

@tatsuketer 你好,我查看了 OpenTypeJS,但目前它好像还不支持可变字体(Variable Font)的编辑,查看 issue483。你最终是使用了多字体文件吗?

from fontmin.

tuyuritio avatar tuyuritio commented on June 10, 2024

@hooozen 是这样的,我依然使用了上述提到的第三方字库,在 OpenTypeJS 中使用了多个静态字体文件。

from fontmin.

hooozen avatar hooozen commented on June 10, 2024

@tatsuketer 谢谢!

from fontmin.

yisibl avatar yisibl commented on June 10, 2024

试试 iconfont 的在线子集服务,支持 OTF 和可变字体等:https://www.iconfont.cn/fonts/detail?spm=a313x.7781069.1998910419.d9df05512&cnid=nsKKStjV4gdI

from fontmin.

hooozen avatar hooozen commented on June 10, 2024

@yisibl 这个是在线手动生成的,没有找到脚本下载。另外,我看页面中也需要下载多个字重文件。

from fontmin.

yisibl avatar yisibl commented on June 10, 2024

@hooozen 下载多个字重文件是啥意思?

from fontmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.