Skip to content

Commit

Permalink
Use a thicker outline to compensate for the smaller text
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletcafe committed Jul 6, 2020
1 parent 3d06365 commit f597ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eldstar_server/src/loaders/truetype.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class glyph {
// Switch to rendering stroke
binder.bind(stroke_bitmap);

FT_Stroker_Set(st, 2 * 64, FT_STROKER_LINECAP_ROUND, FT_STROKER_LINEJOIN_ROUND, 0);
FT_Stroker_Set(st, 3 * 128, FT_STROKER_LINECAP_ROUND, FT_STROKER_LINEJOIN_ROUND, 0);

// Load the glyph fresh, in non-rendered mode
if (code = FT_Load_Glyph(face, glyph_index, FT_LOAD_DEFAULT)) {
Expand Down

0 comments on commit f597ef3

Please sign in to comment.