QSvgHandler: Extract Method parseTextAnchor()


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

Due to QTBUG-146716, this author's patch chain ends here: the
font-family parsing has a different structure, with the cache
lookup. So we've not quite fixed QTBUG-146726 for parseFont(), but
it's close.

Amends the start of the git history in this module.

Pick-to: 6.12 6.11 6.8
Task-number: QTBUG-146726
Change-Id: Iafe7bdc9401ba7cfd4e84e123a8dfc68ab40b6de
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commitbf44b2063eacbd2ae3f4f95bcfbf6fbe04a2c69d
parent2ccf79a428a95f6528c7beae1950b8cef9213855
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 2 Jun 2026 10:37:27 +0000