Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/graphics.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ const TextRendering = struct { // MARK: TextRendering
glyphMapping.appendNTimes(0, index - glyphMapping.items.len + 1);
}
if (glyphMapping.items[index] == 0) { // glyph was not initialized yet.
try ftError(c.FT_Load_Glyph(freetypeFace, index, c.FT_LOAD_RENDER));
try ftError(c.FT_Load_Glyph(freetypeFace, index, c.FT_LOAD_RENDER | c.FT_LOAD_NO_AUTOHINT));
const glyph = freetypeFace.*.glyph;
const bitmap = glyph.*.bitmap;
const width = bitmap.width;
Expand Down
Loading