mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-10 14:03:06 -04:00
Correct charstring stack accounting in emit_contour()
The first point doesn't count because it gets an rmoveto rather than an rlineto.
This commit is contained in:
parent
36a99e6005
commit
492cea7bf1
@ -3571,7 +3571,7 @@ static void
|
||||
emit_contour(point *p0, vec *cur)
|
||||
{
|
||||
point *p = p0, *p1;
|
||||
int stacksize = 0;
|
||||
int stacksize = -2; /* Allow for initial rmoveto. */
|
||||
|
||||
if (p->prev) p->prev->next = NULL; /* Break the loop. */
|
||||
do {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user