diff libvo/font_load.c @ 28200:56868e6fb340

Conditionally define render_one_glyph and kerning dummy functions in font_load.c when FreeType is not enabled instead of conditionally defining them in font_load.h. This moves the workaround closer to where the actual problem is.
author diego
date Fri, 02 Jan 2009 14:41:38 +0000
parents 0f4e0c39c20e
children 7681eab10aea
line wrap: on
line diff
--- a/libvo/font_load.c	Fri Jan 02 13:25:00 2009 +0000
+++ b/libvo/font_load.c	Fri Jan 02 14:41:38 2009 +0000
@@ -335,3 +335,8 @@
     free(desc);
   return NULL;
 }
+
+#ifndef CONFIG_FREETYPE
+void render_one_glyph(font_desc_t *desc, int c) {}
+int kerning(font_desc_t *desc, int prevc, int c) { return 0; }
+#endif