summaryrefslogtreecommitdiffstats
path: root/libvo/font_load.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-08 02:04:43 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-08 02:13:09 +0300
commit17d3e4b36d18f4a653f7c5f6ea2f15fcd3a2f069 (patch)
tree5d1910a2ab6381f6b4fb0ffc2834f55f7fef7129 /libvo/font_load.h
parent2ba9df3df3d61a7cc1bde9f897bc77eaaf14b383 (diff)
parentaf76be6e197382af491fadef3fcf821a721c99f5 (diff)
downloadmpv-17d3e4b36d18f4a653f7c5f6ea2f15fcd3a2f069.tar.bz2
mpv-17d3e4b36d18f4a653f7c5f6ea2f15fcd3a2f069.tar.xz
Merge svn changes up to r27441
Conflicts: cfg-common-opts.h command.c configure input/input.c libmpcodecs/dec_video.c libmpcodecs/vd.c libmpdemux/stheader.h libvo/sub.c libvo/video_out.c libvo/vo_xv.c libvo/vosub_vidix.c libvo/x11_common.c libvo/x11_common.h mp_core.h mplayer.c stream/stream.h
Diffstat (limited to 'libvo/font_load.h')
-rw-r--r--libvo/font_load.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libvo/font_load.h b/libvo/font_load.h
index 282c9cdc7c..38c1e321ec 100644
--- a/libvo/font_load.h
+++ b/libvo/font_load.h
@@ -1,7 +1,7 @@
#ifndef MPLAYER_FONT_LOAD_H
#define MPLAYER_FONT_LOAD_H
-#ifdef HAVE_FREETYPE
+#ifdef CONFIG_FREETYPE
#include <ft2build.h>
#include FT_FREETYPE_H
#endif
@@ -10,14 +10,14 @@ typedef struct {
unsigned char *bmp;
unsigned char *pal;
int w,h,c;
-#ifdef HAVE_FREETYPE
+#ifdef CONFIG_FREETYPE
int charwidth,charheight,pen,baseline,padding;
int current_count, current_alloc;
#endif
} raw_file;
typedef struct font_desc {
-#ifdef HAVE_FREETYPE
+#ifdef CONFIG_FREETYPE
int dynamic;
#endif
char *name;
@@ -34,7 +34,7 @@ typedef struct font_desc {
short width[65536];
int freetype;
-#ifdef HAVE_FREETYPE
+#ifdef CONFIG_FREETYPE
int face_cnt;
FT_Face faces[16];
@@ -63,7 +63,7 @@ typedef struct font_desc {
extern font_desc_t* vo_font;
-#ifdef HAVE_FREETYPE
+#ifdef CONFIG_FREETYPE
extern char *subtitle_font_encoding;
extern float text_font_scale_factor;