Description: Don't lookup previous point if there isn't any Author: Marc Deslauriers Forwarded: no Index: t1lib-5.1.2/lib/type1/type1.c =================================================================== --- t1lib-5.1.2.orig/lib/type1/type1.c 2011-12-13 14:24:14.280965637 -0600 +++ t1lib-5.1.2/lib/type1/type1.c 2011-12-13 14:25:25.893320747 -0600 @@ -1700,6 +1700,7 @@ long pindex = 0; /* compute hinting for previous segment! */ + if (ppoints == NULL) Error0i("RLineTo: No previous point!\n"); FindStems( currx, curry, currx-ppoints[numppoints-2].x, curry-ppoints[numppoints-2].y, dx, dy); /* Allocate a new path point and pre-setup data */ @@ -1728,6 +1729,7 @@ long pindex = 0; /* compute hinting for previous point! */ + if (ppoints == NULL) Error0i("RRCurveTo: No previous point!\n"); FindStems( currx, curry, currx-ppoints[numppoints-2].x, curry-ppoints[numppoints-2].y, dx1, dy1); /* Allocate three new path points and pre-setup data */ @@ -1903,6 +1905,7 @@ FindStems( currx, curry, 0, 0, dx, dy); } else { + if (ppoints == NULL) Error0i("RMoveTo: No previous point!\n"); FindStems( currx, curry, ppoints[numppoints-2].x, ppoints[numppoints-2].y, dx, dy); } cm?id=12878d12acccf83ef3258a53a01f851088f0aa9e'>treecommitdiff
path: root/gnu/packages/file.scm
AgeCommit message (Expand)Author
2018-05-01gnu: file: Update to 5.33....Tobias Geerinckx-Rice
2018-01-04Merge branch 'master' into core-updatesMark H Weaver
2018-01-04gnu: file: Mention libmagic....Leo Famulari
2017-10-01Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-09-06gnu: file: Update to 5.32....Efraim Flashner
2017-09-05gnu: file: Fix CVE-2017-1000249....Efraim Flashner
2017-04-03gnu: file: Update to 5.30....Marius Bakke
2016-08-15gnu: file: Update to 5.28....Efraim Flashner
2015-11-16gnu: file: Update to 5.25....宋文武