--- psgeom.c 2004-04-24 02:54:57.000000000 +0700 +++ xkbutils-1.0.2/xkbprint-1.0.1/psgeom.c 2007-10-12 19:44:40.000000000 +0700 @@ -309,7 +309,9 @@ } else { fprintf(out," mark\n"); - fprintf(out," %3d %3d moveto\n",pt[0].x,pt[0].y); + /* Start point for internal outline need to be shited for corner_radius. + * Old code: 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);