/*****************************************************************************
* text_renderer.h: common text renderer code
*****************************************************************************
- * Copyright (C) 2007-2008 the VideoLAN team
+ * Copyright (C) 2007-2011 the VideoLAN team
* $Id$
*
* Authors: Bernie Purcell <bitmap@videolan.org>
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * along with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include <vlc_memory.h>
+#include <vlc_memory.h> /* realloc_or_free */
+#include <vlc_text_style.h> /* text_style_t*/
+#include <vlc_filter.h> /* filter_sys_t */
typedef struct font_stack_t font_stack_t;
struct font_stack_t
if( p_font_style->i_style_flags & STYLE_STRIKEOUT )
b_through = true;
}
-#ifdef HAVE_FONTCONFIG
+#ifdef HAVE_STYLES
else
{
rv = PushFont( &p_fonts,