SVG
SVG copied to clipboard
The MeasureString method in GdiFontDefn maybe have rectangle out of range issue.
Description
https://github.com/svg-net/SVG/blob/203615cb964634931824bba77198d623b09c5c05/Source/Text/GdiFontDefn.cs#L75
This code to get text bounds size, but the width and height of rectangle be set to 1000, for some long text or text with large font size, it may be out of this range, this causes it to return unreliable size values.
Example data
<text style="font-family:'Lobster1.4'; font-size:173.9109;">Midwest Jason Liu Test</text>