Comparing v1.0.0...v1.0.1 · thorvg/thorvg
Commits on Feb 12, 2026
-
gl_engine: Apply model transform on CPU
Move model matrix application from Vertex Shader to CPU geometry preparation. Introduce `outWorld` in `RenderPath` to cache world-space geometry. Update `GlRenderPass` to provide a ViewMatrix (Screen -> NDC). Refactor shaders to use `uViewMatrix` and new uniform blocks (`SolidInfo`, `TransformInfo`). Remove `Matrix` uniform block and `glUniformMatrix4fv` usage.
-
lottie: enhance the asset resolver for font
Pass "name:{font name}" as the src argument when the font path is not specified. Users now have the option to resolve the font themselves. If src begins with "name:", they can manually prepare the font using the given name. Otherwise, they can load the font asset from the provided path in src. issue: #3961 -
lottie/slot: fix slot override and reset regression
- Preserve the original property backup when the same slot is overridden consecutively, preventing reset from losing the original state. issue: #4146 - Set `prop.sid` when appending to an existing slot, so that sid-based dispatch in override() correctly matches the target property for duplicate slot registrations.
-
text: support basic text metrics (Experimental APIs)
Text Metrics provides the basic vertical layout metrics used for text rendering, such as ascent, descent, line spacing (linegap) and advnace. C++ APIs + Result Text::metrics(TextMetrics& metrics) C APIs + Tvg_Result tvg_text_get_metrics(const Tvg_Paint text, Tvg_Text_Metrics* metrics) issue: #3397