verygoodgraphics / vgg_runtime

The official implementation of VGG Specs with cross-platform vector graphics and user interfaces.
https://verygoodgraphics.com
Other
57 stars 5 forks source link

Improve font matching mechanism #411

Closed yslib closed 3 weeks ago

yslib commented 4 weeks ago

Detailed description

Currently, font weight resolving only relies on if the font file is comprehensive. i.e. a single font file including all kinds of weight you need. If different font weights are provided by sperated font files, the font resolving is not correct in some cases.

Possible implementation

No response

Additional information

No response