mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 04:42:10 +00:00
Fix #if condition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23358 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
225a00fb2e
commit
c64608422a
@ -156,7 +156,7 @@ void ass_font_set_transform(ass_font_t* font, double scale_x, double scale_y, FT
|
||||
|
||||
static void face_set_size(FT_Face face, double size)
|
||||
{
|
||||
#if (FREETYPE_MAJOR >= 2)
|
||||
#if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1))
|
||||
TT_HoriHeader *hori = FT_Get_Sfnt_Table(face, ft_sfnt_hhea);
|
||||
TT_OS2 *os2 = FT_Get_Sfnt_Table(face, ft_sfnt_os2);
|
||||
double mscale = 1.;
|
||||
|
Loading…
Reference in New Issue
Block a user