Commit 602e1fab authored by Olivier Aubert's avatar Olivier Aubert

SVG rendering module. It uses the text rendering API, and converts

plain text to SVG. It can be used to have more control on the subtitle
rendering.
parent f272cbdc
...@@ -2635,6 +2635,22 @@ from http://www.freetype.org/, or configure with --disable-freetype. Have a nice ...@@ -2635,6 +2635,22 @@ from http://www.freetype.org/, or configure with --disable-freetype. Have a nice
fi fi
fi fi
dnl
dnl SVG module
dnl
AC_ARG_ENABLE(svg,
[ --enable-svg SVG support (default disabled)])
if test "${enable_svg}" == "yes"
then
PKG_CHECK_MODULES(SVG,
librsvg-2.0 >= 2.5.0,
[
AX_ADD_LDFLAGS([svg],[$SVG_LIBS])
AX_ADD_CFLAGS([svg],[$SVG_CFLAGS])
AX_ADD_PLUGINS([svg]) ],
[AC_MSG_WARN(SVG library not found)])
fi
dnl dnl
dnl Qt Embedded module dnl Qt Embedded module
dnl (disabled by default) dnl (disabled by default)
......
...@@ -7,3 +7,4 @@ SOURCES_screensaver = screensaver.c ...@@ -7,3 +7,4 @@ SOURCES_screensaver = screensaver.c
SOURCES_qte_main = qte_main.cpp SOURCES_qte_main = qte_main.cpp
SOURCES_freetype = freetype.c SOURCES_freetype = freetype.c
SOURCES_logger = logger.c SOURCES_logger = logger.c
SOURCES_svg = svg.c
This diff is collapsed.
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