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>