From 7d32aac99dd7fda9ab9ff6abc8016644edb34c0b Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 27 Sep 2023 22:08:42 +0200 Subject: [PATCH] Changed a Font comment related to the use of the FreeType auto-hinter --- es-core/src/resources/Font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es-core/src/resources/Font.cpp b/es-core/src/resources/Font.cpp index 2cef54bc3..1254295e2 100644 --- a/es-core/src/resources/Font.cpp +++ b/es-core/src/resources/Font.cpp @@ -726,9 +726,9 @@ Font::Glyph* Font::getGlyph(const unsigned int id) const FT_GlyphSlot glyphSlot {face->glyph}; - // TODO: Evaluate/test hinting when HarfBuzz has been added. // If the font does not contain hinting information then force the use of the automatic - // hinter that is built into FreeType. + // hinter that is built into FreeType. Note: Using font-supplied hints generally looks worse + // than using the auto-hinter so it's disabled for now. // const bool hasHinting {static_cast(glyphSlot->face->face_flags & FT_FACE_FLAG_HINTER)}; const bool hasHinting {true};