Account for different DPI scales in font fallbacks.

Fixes #1675
This commit is contained in:
Alex Szpakowski
2021-04-04 16:01:22 -03:00
parent cbc0602620
commit c991f999eb
2 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ private:
void createTexture();
TextureSize getNextTextureSize() const;
love::font::GlyphData *getRasterizerGlyphData(uint32 glyph);
love::font::GlyphData *getRasterizerGlyphData(uint32 glyph, float &dpiscale);
const Glyph &addGlyph(uint32 glyph);
const Glyph &findGlyph(uint32 glyph);
float getKerning(uint32 leftglyph, uint32 rightglyph);