freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Question about default SVG library integration in FreeTyp


From: Moazin Khatri
Subject: Re: [ft-devel] Question about default SVG library integration in FreeType build system
Date: Mon, 22 Jul 2019 14:28:07 +0500

Simply protect the whole code in the SVG module file(s) with

  #ifdef FT_CONFIG_OPTION_SVG
  ...
  #endif

I tried this. But there's one problem with it. The `bzip2' module
doesn't expose anything apart from some functions. However,
my `svg' module exposes a renderer class with the name
`ft_svg_renderer_class'. This gets added in the list of the default
modules too. With the approach you suggested, This class
doesn't get exposed when the macro
FT_CONFIG_OPTION_SVG' isn't defined. That leads to an
`undefined reference' error. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]