[MPlayer-cvslog] r23358 - trunk/libass/ass_font.c
eugeni
subversion at mplayerhq.hu
Sun May 20 19:56:39 CEST 2007
Author: eugeni
Date: Sun May 20 19:56:39 2007
New Revision: 23358
Log:
Fix #if condition.
Modified:
trunk/libass/ass_font.c
Modified: trunk/libass/ass_font.c
==============================================================================
--- trunk/libass/ass_font.c (original)
+++ trunk/libass/ass_font.c Sun May 20 19:56:39 2007
@@ -156,7 +156,7 @@ void ass_font_set_transform(ass_font_t*
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.;
More information about the MPlayer-cvslog
mailing list