mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 02:52:10 +00:00
enable hinting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15441 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d46575a2dc
commit
d2e7c10efd
@ -117,7 +117,7 @@ static int check_font(font_desc_t *desc, float ppem, int padding, int pic_idx,
|
||||
int unicode) {
|
||||
FT_Error error;
|
||||
FT_Face face = desc->faces[pic_idx];
|
||||
int const load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING;
|
||||
int const load_flags = FT_LOAD_DEFAULT;
|
||||
int ymin = INT_MAX, ymax = INT_MIN;
|
||||
int space_advance = 20;
|
||||
int width, height;
|
||||
@ -496,7 +496,7 @@ void render_one_glyph(font_desc_t *desc, int c)
|
||||
int width, height, stride, maxw, off;
|
||||
unsigned char *abuffer, *bbuffer;
|
||||
|
||||
int const load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING;
|
||||
int const load_flags = FT_LOAD_DEFAULT;
|
||||
int pen_xa;
|
||||
int font = desc->font[c];
|
||||
int error;
|
||||
|
Loading…
Reference in New Issue
Block a user