mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
text: fixed a corrupted italic style application
issue: https://github.com/thorvg/thorvg/issues/2669
This commit is contained in:
parent
5f5060dbf2
commit
df8c79fbc1
2 changed files with 2 additions and 1 deletions
1
AUTHORS
1
AUTHORS
|
@ -34,3 +34,4 @@ Neo Xu <neo.xu1990@gmail.com>
|
|||
Thaddeus Crews <repiteo@outlook.com>
|
||||
Josh Soref <jsoref@gmail.com>
|
||||
Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Łukasz Pomietło <oficjalnyadreslukasza@gmail.com>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue