In the context of rendering the SVG output of Verovio with SharpVectors (Windows, C#, WPF), there is an issue with the SMuFL font Leipzig being clipped.
Correct rendering in a webbrowser:
SharpVectors:
I see two issues: the font definition, and the renderer, which is investigated.
Concerning the font, I'm wondering if it defines correctly the viewBox of a symbol.
Its looks like there is a mismatch between the viewBox and the bounding box of the shape that can only be clipped.
The attribute overflow=visible would avoid a clipping, but SharpVectors doesn't seem to support it, or at least in some version of outdated SVG specification, hence the shape is clipped.
A simple SVG generated by Verovio (edited with only that glyph):
In the context of rendering the SVG output of Verovio with SharpVectors (Windows, C#, WPF), there is an issue with the SMuFL font Leipzig being clipped.
Correct rendering in a webbrowser:
SharpVectors:
I see two issues: the font definition, and the renderer, which is investigated. Concerning the font, I'm wondering if it defines correctly the viewBox of a symbol.
Example for the glyph E0A4
The Leipzig font defines:
and
<symbol id="E0A4" viewBox="0 0 1000 1000" overflow="inherit"><path transform="scale(1,-1)" d="M0 -39c0 68 73 172 200 172c66 0 114 -37 114 -95c0 -84 -106 -171 -218 -171c-64 0 -96 30 -96 94z" /></symbol>
Its looks like there is a mismatch between the viewBox and the bounding box of the shape that can only be clipped. The attribute overflow=visible would avoid a clipping, but SharpVectors doesn't seem to support it, or at least in some version of outdated SVG specification, hence the shape is clipped.
A simple SVG generated by Verovio (edited with only that glyph):
So my question is : shouldn't the viewBox fit exactly the shape, and not require overflow=visible for correct rendering ?
Also, which tool is used to edit a font like Leipzig ?