text: fixed a corrupted italic style application

issue: https://github.com/thorvg/thorvg/issues/2669
This commit is contained in:
lpogic 2024-08-23 10:01:19 +02:00 committed by Hermet Park
parent fbae8ad095
commit 35ffa9edf8

View file

@ -98,9 +98,9 @@ struct Text::Impl
{
if (!loader) return false;
loader->request(shape, utf8, italic);
//reload
if (changed) {
loader->request(shape, utf8, italic);
loader->read();
changed = false;
}