renderer: ++reliability in text drawing

Allow the canvas to pass through
even if text elements are not properly supported.

issue: https://github.com/thorvg/thorvg/issues/2715
This commit is contained in:
Hermet Park 2024-09-07 01:35:09 +09:00
parent 1eb3e068df
commit ced252e0eb

View file

@ -89,6 +89,7 @@ struct Text::Impl
bool render(RenderMethod* renderer)
{
if (!loader) return true;
renderer->blend(paint->blend());
return PP(shape)->render(renderer);
}