Add flag `FT_CONFIG_OPTION_SVG`.
This flag is going to be used to conditionally compile support for OT-SVG glyphs. FreeType will do the parsing and rely on external hooks for rendering of OT-SVG glyphs. * devel/ftoption.h, include/freetype/config/ftoption.h (FT_CONFIG_OPTION_SVG): New flag.
This commit is contained in:
parent
0b635b1eb2
commit
06c1a25e63
|
@ -525,6 +525,20 @@ FT_BEGIN_HEADER
|
||||||
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
|
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
|
||||||
|
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
*
|
||||||
|
* OpenType SVG Glyph Support
|
||||||
|
*
|
||||||
|
* Setting this macro enables support for OpenType SVG glyphs. By
|
||||||
|
* default, FreeType can only fetch SVG documents. However, it can also
|
||||||
|
* render them if external rendering hook functions are plugged in at
|
||||||
|
* runtime.
|
||||||
|
*
|
||||||
|
* More details on the hooks can be found in file `otsvg.h`.
|
||||||
|
*/
|
||||||
|
#define FT_CONFIG_OPTION_SVG
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
*
|
*
|
||||||
* Error Strings
|
* Error Strings
|
||||||
|
@ -1004,8 +1018,8 @@ FT_BEGIN_HEADER
|
||||||
#error "Invalid CFF darkening parameters!"
|
#error "Invalid CFF darkening parameters!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
FT_END_HEADER
|
|
||||||
|
|
||||||
|
FT_END_HEADER
|
||||||
|
|
||||||
#endif /* FTOPTION_H_ */
|
#endif /* FTOPTION_H_ */
|
||||||
|
|
||||||
|
|
|
@ -527,6 +527,20 @@ FT_BEGIN_HEADER
|
||||||
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
|
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
|
||||||
|
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
*
|
||||||
|
* OpenType SVG Glyph Support
|
||||||
|
*
|
||||||
|
* Setting this macro enables support for OpenType SVG glyphs. By
|
||||||
|
* default, FreeType can only fetch SVG documents. However, it can also
|
||||||
|
* render them if external rendering hook functions are plugged in at
|
||||||
|
* runtime.
|
||||||
|
*
|
||||||
|
* More details on the hooks can be found in file `otsvg.h`.
|
||||||
|
*/
|
||||||
|
#define FT_CONFIG_OPTION_SVG
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
*
|
*
|
||||||
* Error Strings
|
* Error Strings
|
||||||
|
@ -1006,8 +1020,8 @@ FT_BEGIN_HEADER
|
||||||
#error "Invalid CFF darkening parameters!"
|
#error "Invalid CFF darkening parameters!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
FT_END_HEADER
|
|
||||||
|
|
||||||
|
FT_END_HEADER
|
||||||
|
|
||||||
#endif /* FTOPTION_H_ */
|
#endif /* FTOPTION_H_ */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue