mirror of
https://github.com/libretro/RetroArch
synced 2025-04-04 04:20:29 +00:00
disable oversampling leads to some font alignment issues
This commit is contained in:
parent
88dfabf92f
commit
a4720acf22
@ -636,8 +636,8 @@ static struct zr_user_font font_bake_and_upload(
|
|||||||
config.pixel_snap = zr_false;
|
config.pixel_snap = zr_false;
|
||||||
config.size = (float)font_height;
|
config.size = (float)font_height;
|
||||||
config.spacing = zr_vec2(0,0);
|
config.spacing = zr_vec2(0,0);
|
||||||
config.oversample_h = 2;
|
config.oversample_h = 1;
|
||||||
config.oversample_v = 2;
|
config.oversample_v = 1;
|
||||||
|
|
||||||
/* query needed amount of memory for the font baking process */
|
/* query needed amount of memory for the font baking process */
|
||||||
zr_font_bake_memory(&tmp_size, &glyph_count, &config, 1);
|
zr_font_bake_memory(&tmp_size, &glyph_count, &config, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user