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

如何取到正确的glyphs对象? #60

Open
pkjy opened this issue Nov 5, 2021 · 0 comments
Open

如何取到正确的glyphs对象? #60

pkjy opened this issue Nov 5, 2021 · 0 comments

Comments

@pkjy
Copy link

pkjy commented Nov 5, 2021

这是通过软件打开的TTF资源,显示glyphs只有13个,Unicode有551个。也就是551个Unicode最终对应的字形其实始终是那13个。
软件
但是我通过allGlyph方法取到的数据,长度是551个而不是13个。

font-carrier
image

我看文档说会自动转换,应该是自动处理了这块的逻辑吧?
image
那我如何才能取到那13个字形,和551个Unicode,以及他们的关系呢?

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

1 participant