From c70d703389b3a0b7af297db0eeec106c81688d83 Mon Sep 17 00:00:00 2001 From: Pavel Kurashov Date: Fri, 14 Nov 2008 13:50:20 +0100 Subject: [PATCH] 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/psgeom.c b/psgeom.c index 5266614..b80bc8f 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); -- 1.6.0.3