diff --git a/libs/fonts/source/freetype.cpp b/libs/fonts/source/freetype.cpp index f27dead1..373636fe 100644 --- a/libs/fonts/source/freetype.cpp +++ b/libs/fonts/source/freetype.cpp @@ -185,6 +185,9 @@ namespace psemek::fonts else { glyph_id = FT_Get_Char_Index(face, ch); + if (glyph_id == 0) + glyph_id = FT_Get_Char_Index(face, '?'); + glyph_mapping_[ch] = glyph_id; }