mirror of https://github.com/Chlumsky/msdfgen.git
Merge branch 'svg_fix'
* svg_fix: Missed a spot for the Ss control point calculation to remember previous curve.
This commit is contained in:
commit
df4542affc
|
|
@ -277,6 +277,7 @@ static bool buildFromPath(Shape &shape, const char *pathDef, double size) {
|
|||
}
|
||||
contourStart &= nodeType == 'M' || nodeType == 'm';
|
||||
prevNode = node;
|
||||
prevNodeType = nodeType;
|
||||
readNodeType(nodeType, pathDef);
|
||||
consumeWhitespace(pathDef);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue