diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-27 15:14:02 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-27 15:14:02 +0000 |
commit | fbae3928cddfcb459445f105daac12b42f2991ba (patch) | |
tree | 2dfd8834e7f3e93478b3fa655fe28f6b7548b3c7 /libvo/font_load.h | |
parent | 131683f8f35aed3145af816e8ea3dea3c6f4bd31 (diff) | |
download | mpv-fbae3928cddfcb459445f105daac12b42f2991ba.tar.bz2 mpv-fbae3928cddfcb459445f105daac12b42f2991ba.tar.xz |
Allow independent scaling of vo_font and sub_font.
Patch by Guillaume LECERF (foxcore gmail com).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25879 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/font_load.h')
-rw-r--r-- | libvo/font_load.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/font_load.h b/libvo/font_load.h index 08a3c47d15..0c7fe42890 100644 --- a/libvo/font_load.h +++ b/libvo/font_load.h @@ -81,13 +81,13 @@ extern int force_load_font; int init_freetype(void); int done_freetype(void); -font_desc_t* read_font_desc_ft(const char* fname,int movie_width, int movie_height); +font_desc_t* read_font_desc_ft(const char* fname,int movie_width, int movie_height, float font_scale_factor); void free_font_desc(font_desc_t *desc); void render_one_glyph(font_desc_t *desc, int c); int kerning(font_desc_t *desc, int prevc, int c); -void load_font_ft(int width, int height, font_desc_t **desc, const char *name); +void load_font_ft(int width, int height, font_desc_t **desc, const char *name, float font_scale_factor); void blur(unsigned char *buffer, unsigned short *tmp2, int width, int height, int stride, int *m2, int r, int mwidth); |