use element applies referenced viewBox scaling. FontManager created. #414
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before I begin, apologies, this is my first ever pull request ...
When referencing a element that contains a viewBox attribute - the result should be scaled using the width/height defined on the use element and the width/height of the viewbox.
I created a test case ... "__issue-323-02-01" - but realise that I've not followed any proper naming convention.
When a font is requested in the render process, if the font is not found as an embedded SvgFont, it defers to the SvgFontManager.FindFont method. The SvgFontManager.FindFont searches a dictionary of fonts (pre loaded with the system fonts). If a font can't be found and a callback has been provided - then the callback should perform any validation and return a font (or null if not found/error). When the SvgFontManager can't identify the font, we then fallback to the SVGElement.PrivateFont method.
Example usage.