simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu Mar 13 12:33:32 GMT 2025


TL;DR:
  0ea6a31a icons: gitignore update for SVG files.
  58b0fbfe icons: HTML preview page.
  308a85f8 icons: build true-colour installer icons unconditionally.
  a3cd2a57 SVG icons: fix computer/monitor alignment.
  0a77b184 SVG icons: support black-and-white mode.
  feaadd90 SVG icons: adjust the hat on the Pageant icon.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2025-03-13 12:33:32

commit 0ea6a31abd2bf7ae910bfd91fc24cdc9b1ec5728
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=0ea6a31abd2bf7ae910bfd91fc24cdc9b1ec5728;hp=64712be3cbc4a02bda4a92ca97e8d4f294abbe9a
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 8 11:36:46 2025 +0000

    icons: gitignore update for SVG files.

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

commit 58b0fbfe3a1f60f9c8d575f8d7a593b3a408b571
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=58b0fbfe3a1f60f9c8d575f8d7a593b3a408b571;hp=0ea6a31abd2bf7ae910bfd91fc24cdc9b1ec5728
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 8 11:36:55 2025 +0000

    icons: HTML preview page.
    
    This is a convenient thing to look at in a web browser, via a file://
    URL, which lets me see all the icons together and check they match.

 icons/preview.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 115 insertions(+)

commit 308a85f8a295c2ff1678fc390680b12698ea07e9
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=308a85f8a295c2ff1678fc390680b12698ea07e9;hp=58b0fbfe3a1f60f9c8d575f8d7a593b3a408b571
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 8 11:47:27 2025 +0000

    icons: build true-colour installer icons unconditionally.
    
    We weren't building _all_ the icons in true-colour mode, because most
    don't change anyway. The installer ones do, so let's build them. Works
    better with the preview page.

 icons/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a3cd2a57248bf7c5b58634d5a9813a050bc5364e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=a3cd2a57248bf7c5b58634d5a9813a050bc5364e;hp=308a85f8a295c2ff1678fc390680b12698ea07e9
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 8 11:07:18 2025 +0000

    SVG icons: fix computer/monitor alignment.
    
    It looked nasty that the back corner of the monitor didn't line up
    exactly with the outline of the system box behind it. Now I choose the
    y offset between the two components to ensure it does. Also adjusted
    the monitor's depth so that it fits better with the new alignment.

 icons/mksvg.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 0a77b184812a415934821e051fb423c6c59617ca
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=0a77b184812a415934821e051fb423c6c59617ca;hp=a3cd2a57248bf7c5b58634d5a9813a050bc5364e
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 8 11:19:54 2025 +0000

    SVG icons: support black-and-white mode.
    
    If I'm going to use this as a means of generating bitmap icons at
    large sizes, I want it to support all the same modes as the existing
    bitmap script. So this adds a mode to the SVG generator that produces
    the same black and white colour scheme as the existing monochrome
    bitmap icons.
    
    (Plus, who knows, the black and white SVGs might come in useful for
    other purposes. Printing as a logo on black-and-white printers springs
    to mind.)
    
    The existing monochrome icons aren't greyscale: all colours are
    literally either black or white, except for the cardboard box in the
    installer icon, which is halftoned. Here I've rendered that box as
    mid-grey. When I convert the rendered SVG output to an actual
    1-bit (plus alpha) image, I'll have to redo that halftoning.

 icons/Makefile     |  7 +++++-
 icons/mksvg.py     | 72 +++++++++++++++++++++++++++++++++++++-----------------
 icons/preview.html | 13 +++++++++-
 3 files changed, 67 insertions(+), 25 deletions(-)

commit feaadd90ea3d8bb0c1cd3202e70269adef16b97e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=feaadd90ea3d8bb0c1cd3202e70269adef16b97e;hp=0a77b184812a415934821e051fb423c6c59617ca
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 8 12:03:27 2025 +0000

    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(-)



More information about the tartarus-commits mailing list