Generate QHash of QSvgGlyphs in a QSvgFont only once


Before this change, this was repeated or each drawing operation of every
text element which uses the font. After the parsing stage, the glyphs
don't change anymore, so we can preserve the QHash which makes repeated
drawing operations faster.

Task-number: QTBUG-139446
Pick-to: 6.10
Change-Id: I5f2d254bf6e671021602e6c014c80c0a316b7c2f
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commitf35cb0e26a6cd9659e0b91ed1a5d351cb4a29829
parent7a58783f3e004e3af619b143667e2d9130b33277
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeTue, 2 Dec 2025 10:40:41 +0000