comparison Gui/interface.c @ 7122:0dc9cb756b68

freetype 2.0/2.1+ support - disabled by default until bugs fixed patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
author arpi
date Wed, 28 Aug 2002 20:52:02 +0000
parents b65b78640d49
children dc48f2130a76
comparison
equal deleted inserted replaced
7121:6abc330b5b32 7122:0dc9cb756b68
199 extern char ** vo_plugin_args; 199 extern char ** vo_plugin_args;
200 200
201 #if defined( USE_OSD ) || defined( USE_SUB ) 201 #if defined( USE_OSD ) || defined( USE_SUB )
202 void guiLoadFont( void ) 202 void guiLoadFont( void )
203 { 203 {
204 #ifdef HAVE_FREETYPE
205 load_font(vo_image_width, vo_image_height);
206 #else
204 if ( vo_font ) 207 if ( vo_font )
205 { 208 {
206 int i; 209 int i;
207 if ( vo_font->name ) free( vo_font->name ); 210 if ( vo_font->name ) free( vo_font->name );
208 if ( vo_font->fpath ) free( vo_font->fpath ); 211 if ( vo_font->fpath ) free( vo_font->fpath );
233 { 236 {
234 gfree( (void **)&font_name ); font_name=gstrdup( DATADIR"/font/font.desc" ); 237 gfree( (void **)&font_name ); font_name=gstrdup( DATADIR"/font/font.desc" );
235 vo_font=read_font_desc( font_name,font_factor,0 ); 238 vo_font=read_font_desc( font_name,font_factor,0 );
236 } 239 }
237 } 240 }
241 #endif
238 } 242 }
239 #endif 243 #endif
240 244
241 static void add_vop( char * str ) 245 static void add_vop( char * str )
242 { 246 {