Releases: sammycage/plutosvg
Releases ยท sammycage/plutosvg
v0.0.7
- Replaced global FreeType usage with
Freetype::Freetypetarget - Added support for
hrefas an alias forxlink:hrefin SVG parsing - Fixed potential integer overflows in internal calculations
- Generate
plutosvg.pcfrom CMake for pkg-config support @dg0yt - Added FreeType dependency to
plutosvgConfig.cmake.infor correct linkage
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.