From 35ffa9edf86e54905a017790c60e159fc39c4366 Mon Sep 17 00:00:00 2001 From: lpogic Date: Fri, 23 Aug 2024 10:01:19 +0200 Subject: [PATCH] text: fixed a corrupted italic style application issue: https://github.com/thorvg/thorvg/issues/2669 --- src/renderer/tvgText.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/tvgText.h b/src/renderer/tvgText.h index f6faec2d..b5a20bfd 100644 --- a/src/renderer/tvgText.h +++ b/src/renderer/tvgText.h @@ -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; }