diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-03 13:43:11 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-03 13:43:11 +0000 |
commit | 10cd4a7e5a5043b826abdd6696fa267f942222b9 (patch) | |
tree | a4234768b54a5b471869b1cb14ab43fac8e06d44 /libass/ass_font.h | |
parent | 9a4832f06695874c19dd44af8c162cf4712631c5 (diff) | |
download | mpv-10cd4a7e5a5043b826abdd6696fa267f942222b9.tar.bz2 mpv-10cd4a7e5a5043b826abdd6696fa267f942222b9.tar.xz |
More simple and correct font reselection.
Since ass_font_t contains a list of font faces, there is no need to select the
face with maximum charset coverage each time. It is enough to select any face
with the required glyph.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24000 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_font.h')
-rw-r--r-- | libass/ass_font.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libass/ass_font.h b/libass/ass_font.h index 6d10ad18db..5aeaa49c29 100644 --- a/libass/ass_font.h +++ b/libass/ass_font.h @@ -21,10 +21,6 @@ #ifndef ASS_FONT_H #define ASS_FONT_H -#ifdef HAVE_FONTCONFIG -#include <fontconfig/fontconfig.h> -#endif - typedef struct ass_font_desc_s { char* family; unsigned bold; @@ -41,9 +37,6 @@ typedef struct ass_font_s { double scale_x, scale_y; // current transform FT_Vector v; // current shift double size; -#ifdef HAVE_FONTCONFIG - FcCharSet* charset; -#endif } ass_font_t; ass_font_t* ass_font_new(ass_library_t* library, FT_Library ftlibrary, void* fc_priv, ass_font_desc_t* desc); |