disable oversampling leads to some font alignment issues

This commit is contained in:
radius 2016-02-27 13:10:07 -05:00
parent 88dfabf92f
commit a4720acf22

View File

@ -636,8 +636,8 @@ static struct zr_user_font font_bake_and_upload(
config.pixel_snap = zr_false;
config.size = (float)font_height;
config.spacing = zr_vec2(0,0);
config.oversample_h = 2;
config.oversample_v = 2;
config.oversample_h = 1;
config.oversample_v = 1;
/* query needed amount of memory for the font baking process */
zr_font_bake_memory(&tmp_size, &glyph_count, &config, 1);