QSvgHandler: Extract Method parseFontSize()


This is the same change as 25cae41692e3a8673f4492c3a8721782284c351f
was for font-style, so that commit message applies here, too.

After starting with font-style, tackle font-size in this patch. Found
QTBUG-146716, which prompted this Extract Method chain, because it was
much harder to fix in the large function than in a small one (where we
can use an early return).

Amends the start of the git history in this module.

Pick-to: 6.11 6.8
Task-number: QTBUG-146716
Task-number: QTBUG-146726
Change-Id: I7aaec299dea84d684db055104bc4daf9c2a4d738
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commitdbfe09015084aebfcac1a895d41a8739174b57dc
parentb820a81c9935298d4a2f7b4d6337dba3b4a95065
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 18 May 2026 21:14:38 +0000