|
Get rid of useSVGZoomRules in FontBuilder
First, having a flag such as useSVGZoomRules determined by the element
type doesn't fit well with the way FontBuilder works. FontBuilder does
nothing when there are no style affecting the font. No font is
generated and no font size calculated.
This means that unless a svg or foreignObject (borders between SVG and
non-SVG) has one or more font related properties set, the
useSVGZoomRules flag affects nothing already.
But it turns out SVG finds out the font scale factor on its own by
traversing ancestor chain anyway, so having a special case for SVG in
FontBuilder is redundant, that font won't be used anyway, when the
scale factor is different from 1.
|