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

3D字DEMO, 解决threejs渲染汉字路径解析不正确的问题 #26

Open
OPY-bbt opened this issue Jan 3, 2020 · 3 comments
Open
Labels

Comments

@OPY-bbt
Copy link
Owner

OPY-bbt commented Jan 3, 2020

https://opy-bbt.github.io/threejs_demo/font_with_datgui/

@OPY-bbt OPY-bbt added the WebGL label Jan 3, 2020
@OPY-bbt
Copy link
Owner Author

OPY-bbt commented Jan 3, 2020

在threejs解析路径时,增加行高和字间距属性

@OPY-bbt
Copy link
Owner Author

OPY-bbt commented Jan 3, 2020

替换threejs使用的triangle算法 earcutjs 为 libtessjs, 使其支持多种环绕规则

@OPY-bbt
Copy link
Owner Author

OPY-bbt commented Jan 3, 2020

下面是修改前后对比 :
before
after

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

No branches or pull requests

1 participant