mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
Improved text quality (especially visible at small sizes, and with pixelated fonts) (#228)
This commit is contained in:
parent
424c424376
commit
d9ba54f285
@ -403,7 +403,7 @@ Glyph Font::loadGlyph(Uint32 codePoint, unsigned int characterSize, bool bold) c
|
||||
return glyph;
|
||||
|
||||
// Load the glyph corresponding to the code point
|
||||
if (FT_Load_Char(face, codePoint, FT_LOAD_TARGET_NORMAL) != 0)
|
||||
if (FT_Load_Char(face, codePoint, FT_LOAD_TARGET_NORMAL | FT_LOAD_FORCE_AUTOHINT) != 0)
|
||||
return glyph;
|
||||
|
||||
// Retrieve the glyph
|
||||
|
Loading…
Reference in New Issue
Block a user