v1.3.0
Advanced Font Cache and Region Testing
This release adds a powerful font-face cache system and new APIs for testing whether a point lies within fill, stroke, or clip regions. It improves font management, enables dynamic font selection by family and style, and supports precise hit-testing for interactive graphics.
New APIs and Features
Font-Face Cache System
A complete API for managing and accessing font faces:
-
Creation and Lifecycle
plutovg_font_face_cache_create()plutovg_font_face_cache_reference()plutovg_font_face_cache_destroy()plutovg_font_face_cache_reference_count()plutovg_font_face_cache_reset()
-
Manual Addition and Retrieval
plutovg_font_face_cache_add()Adds a font face with a specified family and style.plutovg_font_face_cache_add_file()Loads and adds a font face from a specific file.- Retrieves a font face matching a given style.