Commit 41eb7f4e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: split Win32 code in its own file

parent 0c76db2e
......@@ -8,6 +8,10 @@ libfreetype_plugin_la_SOURCES = \
text_renderer/freetype.c text_renderer/freetype.h \
text_renderer/text_layout.c text_renderer/text_layout.h
if HAVE_WIN32
libfreetype_plugin_la_SOURCES += text_renderer/fonts/win32.c
endif
libfreetype_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
libfreetype_plugin_la_LIBADD = $(LIBM) $(FREETYPE_LIBS)
if HAVE_FREETYPE
......
This diff is collapsed.
This diff is collapsed.
......@@ -241,4 +241,10 @@ char* ToLower( const char *psz_src );
/* Size helper, depending on the scaling factor */
int ConvertToLiveSize( filter_t *p_filter, const text_style_t *p_style );
/* Only for fonts implementors */
vlc_family_t *SearchFallbacks( filter_t *p_filter, vlc_family_t *p_fallbacks,
uni_char_t codepoint );
FT_Face GetFace( filter_t *p_filter, vlc_font_t *p_font );
#endif //PLATFORM_FONTS_H
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment