From feaadd90ea3d8bb0c1cd3202e70269adef16b97e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 8 Mar 2025 12:03:27 +0000 Subject: [PATCH] SVG icons: adjust the hat on the Pageant icon. It was a bit far to the right, looking at risk of falling off. Now moved it as far left as it will go without the top right corner of the computer monitor peeking out from behind it. --- icons/mksvg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icons/mksvg.py b/icons/mksvg.py index 5c6b71d3..0f29982b 100755 --- a/icons/mksvg.py +++ b/icons/mksvg.py @@ -844,8 +844,8 @@ def pageant_icon(size): # Determine the relative coordinates of the computer and hat. We # do this by first centring one on the other, then adjusting by # hand. - xrel = (cbb[0]+cbb[2]-hbb[0]-hbb[2])/2 + 2*size - yrel = (cbb[1]+cbb[3]-hbb[1]-hbb[3])/2 + 12*size + xrel = (cbb[0]+cbb[2]-hbb[0]-hbb[2])/2 + 0.7*size + yrel = (cbb[1]+cbb[3]-hbb[1]-hbb[3])/2 + 12.5*size both = SVGgroup([c, ht], [(0,0), (xrel,yrel)])