Open wheybags opened 7 years ago
@memononen bump?
Seemed to work after those changes. Would be very nice to have this
fixed @memononen any chance of a merge?
👍 would be nice to have this upstream!
@wheybags also it would be super useful to be able to provide two different text sizes: one for glyph size under SDF font and another for actual text size. Because SDF fonts don't really work that well under small pt sizes.
@jimon What I do is pass in a constant value to fonstash (30px), and then scale the font metrics I get back according to the difference between the constant and the actual size. I also scale the resulting vertex buffer.
uses the builtin sdf generation in stb_truetype, disabled when using freetype