summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-13 19:47:50 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-13 19:47:50 +0000
commitd2e7c10efd4dc939cd4d696496337846f70103e0 (patch)
tree9609804e11a58b04f455210fa72a744bf475f62d /libvo
parentd46575a2dcea0bc1e17ed8e161f10d32bbce22c5 (diff)
downloadmpv-d2e7c10efd4dc939cd4d696496337846f70103e0.tar.bz2
mpv-d2e7c10efd4dc939cd4d696496337846f70103e0.tar.xz
enable hinting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15441 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/font_load_ft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c
index 74f9abc98f..81d65bf357 100644
--- a/libvo/font_load_ft.c
+++ b/libvo/font_load_ft.c
@@ -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;