QSvgHandler: Extract Method parseFontWeight()


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

After starting with font-style, and font-size, tackle font-weight in
this patch. Found that we're accepting any integral value when the CSS
grammar only allows multiples of 100 between 0 and 1000 exclusive, but
fixing that is left for another patch.

Amends the start of the git history in this module.

Pick-to: 6.11 6.8
Task-number: QTBUG-146726
Change-Id: Iab4d114b1bb87db5ae1c61471f9997c50a56cff8
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commit84fbd48b47cd8cfa082e66a822aed8afa08dc463
parent2f4fc296bca1781bd819f60351bf8e2f9e0ac083
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeFri, 22 May 2026 12:58:44 +0000