Commit Graph

8 Commits

Author SHA1 Message Date
Moazin Khatti 7d6ebe3a81 [ot-svg] Makes `rsvg_port.c' a part of the single build. 2019-08-26 01:17:15 +05:00
Moazin Khatti 4d24f52ead [sfnt,svg] Fix includes to allow a `multi' build. 2019-08-26 01:17:15 +05:00
Moazin Khatti 03f7b5a6b6 [ot-svg] Renames `svgtypes.c' to `svgtypes.h'.
Also adds an `ifndef' check to prevent loading multiple times.
2019-08-26 01:17:15 +05:00
Moazin Khatti 2727bba550 Formatting improvement. 2019-08-26 01:17:14 +05:00
Moazin Khatti f86fe242d4 Improve `--with-svg' in the build system.
Added a `no-default' option that compiles SVG support
but keeps no default rendering port. Thus, the client
application must inject its own hooks.

* builds/unix/configure.raw: Changes in the build
system to support `no-default'.

* builds/unix/unix-cc.in: Add `COMPILE_SVG_PORT' var
to ultimately let the `rules.mk' in `svg' folder know
whether to build the port files or not.

* include/freetype/config/ftoption.h: Change the flag
`FT_CONFIG_OPTION_SVG_DEFAULT' to `*_DEFAULT_SVG' as
`sed' and `ftoption_set' has a problem with the older
version.

* src/svg/ftsvg.c: Ditto.

* src/svg/rules.mk: Compile the port only if
`COMPILE_SVG_PORT' is set.
2019-08-26 01:17:14 +05:00
Moazin Khatti 246ac684e4 Plug in a default library. `librsvg' for now. 2019-08-26 01:17:14 +05:00
Moazin Khatti e028be97b8 Minor fixes. 2019-08-17 20:36:05 +05:00
Moazin Khatti f1db18a464 Barebones of an SVG rendering module and making it part of the build system 2019-08-17 20:36:05 +05:00