Having one of those "I must be an idiot" moments with my code.

stbtt_ScaleForPixelHeight does not seem to be returning a valid scale factor? Giving it my STBTTFontinfo and 16, then calling PackFontRanges and it is making the chars very very small.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!