summaryrefslogtreecommitdiffstats
path: root/libass/ass_parse.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2010-01-08 18:23:34 +0100
committerGrigori Goronzy <greg@blackbox>2010-01-08 18:25:00 +0100
commit8db4a5b1b5ab6598b96092e08586f2bed8ab8f39 (patch)
tree430ab3be746c9a3cf42f36138ea1eaafad3da4fa /libass/ass_parse.c
parent01b0e9a1bb517eeba755154264d6bebe49e8bfcb (diff)
downloadlibass-8db4a5b1b5ab6598b96092e08586f2bed8ab8f39.tar.bz2
libass-8db4a5b1b5ab6598b96092e08586f2bed8ab8f39.tar.xz
Remove support for freetype < 2.2.1
Get rid of compatibility #ifdefs and some code to support very old versions of freetype. libass now requires at least version 2.2.1.
Diffstat (limited to 'libass/ass_parse.c')
-rw-r--r--libass/ass_parse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libass/ass_parse.c b/libass/ass_parse.c
index a5b9b59..0ccb5a2 100644
--- a/libass/ass_parse.c
+++ b/libass/ass_parse.c
@@ -123,15 +123,9 @@ void change_border(ASS_Renderer *render_priv, double border_x,
if (bord > 0 && border_x == border_y) {
if (!render_priv->state.stroker) {
int error;
-#if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1))
error =
FT_Stroker_New(render_priv->ftlibrary,
&render_priv->state.stroker);
-#else // < 2.2
- error =
- FT_Stroker_New(render_priv->state.font->faces[0]->
- memory, &render_priv->state.stroker);
-#endif
if (error) {
ass_msg(render_priv->library, MSGL_V,
"failed to get stroker");