Releases: sammycage/plutosvg
Releases Β· sammycage/plutosvg
v0.0.6
v0.0.5
FreeType SVG hooks are now located in a dedicated header file, plutosvg-ft.h. This change means you no longer need to define PLUTOSVG_HAS_FREETYPE
during compilation. Separating the FreeType dependency from the core PlutoSVG build can help avoid configuration issuesβsuch as the 0x06 error from FT_Set_property
βand gives you more control over how you integrate FreeType.
To use the FreeType SVG hooks in your project, update your code as follows:
#include <plutosvg-ft.h>
// Configure FreeType to use PlutoSVG's SVG hooks:
FT_Property_Set(library, "ot-svg", "svg-hooks", &plutosvg_ft_hooks);
In summary, by moving the SVG hooks into plutosvg-ft.h, you can manage the FreeType integration independently from the PlutoSVG build.