QSvgHandler: Extract Method parseFontVariant()


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

This one is a bit special, because font-variant is merely a short-cut
for various other font-variant-* properties, so take the whole
QSvgAttributes instead of just QSvgAttrributes::fontVariant, in
anticipation of implementing all those missing property values we
currently ignore (see embedded grammar comment).

Amends the start of the git history in this module.

Pick-to: 6.12 6.11 6.8
Task-number: QTBUG-146726
Change-Id: Iafe7bdc9401ba7cfd4e84e000a8dfc68ab40b6de
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commit2ccf79a428a95f6528c7beae1950b8cef9213855
parentc5d0c8d9ad9907292946d343f163a31777b53e12
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 2 Jun 2026 08:55:55 +0000