From df8c79fbc1bca4a4ea4190a761e8f1687f64e93b 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 --- AUTHORS | 1 + src/renderer/tvgText.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 8b836821..a15f3262 100644 --- a/AUTHORS +++ b/AUTHORS @@ -34,3 +34,4 @@ Neo Xu Thaddeus Crews Josh Soref Elliott Sales de Andrade +Łukasz Pomietło diff --git a/src/renderer/tvgText.h b/src/renderer/tvgText.h index 2d233db8..c39446e7 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; }