From 885f2712b0d5137d5349c3debbcea0db0f39e92f Mon Sep 17 00:00:00 2001 From: Pavel Kurashov Date: Fri, 14 Nov 2008 13:50:20 +0100 Subject: correct outline with cornerRadius http://bugs.freedesktop.org/show_bug.cgi?id=12790 https://bugs.freedesktop.org/attachment.cgi?id=12008 Signed-off-by: Peter Breitenlohner --- psgeom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psgeom.c b/psgeom.c index cfb3ab5..3901917 100644 --- a/psgeom.c +++ b/psgeom.c @@ -309,7 +309,7 @@ XkbOutlinePtr ol; } else { fprintf(out," mark\n"); - fprintf(out," %3d %3d moveto\n",pt[0].x,pt[0].y); + fprintf(out," %3d %3d moveto\n",pt[0].x + ol->corner_radius,pt[0].y); fprintf(out," %3d %3d %3d %3d %3d arcto\n",pt[1].x,pt[0].y, pt[1].x,pt[1].y, ol->corner_radius); -- cgit v1.2.3