LWJGL/lwjgl3

Improvement in msdfgen / resolveShapeGeometry

Opened this issue · 0 comments

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