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>