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

Improvement in msdfgen / resolveShapeGeometry #1036

Open
steelswing opened this issue Jan 10, 2025 · 0 comments
Open

Improvement in msdfgen / resolveShapeGeometry #1036

steelswing opened this issue Jan 10, 2025 · 0 comments

Comments

@steelswing
Copy link

Description

In the msdfgen generator, you can use the -windingpreprocess or -nopreprocess flag in the console to enable or disable shape preprocessing. However, in the current MSDF bindings implementation, there is no function to enable or disable this feature.

In the repository https://github.com/Chlumsky/msdfgen/blob/master/ext/resolve-shape-geometry.cpp, there is a function bool resolveShapeGeometry(Shape &shape) responsible for this.

Example command:
msdfgen.exe -font Inter_24pt-Medium.ttf 'M' -nopreprocess -testrender render.png 1024 1024

image

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

No branches or pull requests

1 participant