[Patches] [ python-Patches-1490384 ] PC new-logo-based icon set

SourceForge.net noreply at sourceforge.net
Sat Jun 3 09:01:51 CEST 2006


Patches item #1490384, was opened at 2006-05-17 18:59
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1490384&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: Python 2.5
Status: Closed
Resolution: Accepted
Priority: 8
Submitted By: Andrew Clover (bobince)
Assigned to: Martin v. Löwis (loewis)
Summary: PC new-logo-based icon set

Initial Comment:
Following positive discussion on -dev, here's the
updated version of the PC/py*.ico files I hacked up a
while ago.

The attachment is a ZIP, not a patch, as it contains
only binaries. Also available as tgz:

  http://doxdesk.com/img/software/py/win32-icons.tar.gz

Also possibly of interest:

  http://doxdesk.com/img/software/py/icons3.zip

This attachment contains only the simple replacement
files; the icons3 ZIP also contains:

  - source
  - versions including Windows Vista large icons
    (probably not worth including at this point as they're
    quite sizable and no-one is using Vista yet)
  - an egg icon
    (there is currently no installer/shell support for
eggs,
    but could be worth adding in future)
  - a new installer side banner
    (this has not currently seen any discussion on -dev,
    but may be worth considering if the intention is to
    leave behind the purple/green snake branding)


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-06-03 09:01

Message:
Logged In: YES 
user_id=21627

Hmm, I'm getting an http error 404 when accessing
http://doxdesk.com/img/software/py/win32-icons2.zip

----------------------------------------------------------------------

Comment By: Andrew Clover (bobince)
Date: 2006-05-30 18:20

Message:
Logged In: YES 
user_id=311085

No probs and ta!

However...

I've got more altered icons, attached and at
http://doxdesk.com/img/software/py/win32-icons2.zip . Sorry
for the inconvenience - pretty sure these are 'final'.

The problem with the old files? Well it seems there's a bug
in Windows that can cause redraw errors on 32-bit
alpha-blended XP icons. I can't find any doc on this at all,
but from experiment it seems that it can occur when icons
are partially redrawn instead of drawn all at once. This is
most easily provoked by slowly dragging a window on top of
an Explorer window in Tiles/Icons/List mode, to reveal the
icon underneath.

It looks to be an arithmetic overflow in compositing: when a
nearly-transparent white pixel being plotted onto pure white
background in this partial-redraw code, a black pixel can
unexpectedly result, with poor-looking results. (Thanks,
Windows.)

I've hacked the bitmaps to avoid places where they're
white-and-transparent enough to be able to provoke this
aggravating occasional behaviour. Also while I'm at it, I've
removed the 256 colour 48x48 icons, since it saves a few K
and there's almost no practical case where they're of benefit.

cheers,


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-05-28 18:58

Message:
Logged In: YES 
user_id=21627

Committed the rest as r46503. Thanks again!

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-05-26 19:02

Message:
Logged In: YES 
user_id=21627

Ok, I will then do the following changes still:
- add baselogo.svg and source.xar (ignore all the other files),
- remove the attribution for Erik (sorry for missing that)

----------------------------------------------------------------------

Comment By: Andrew Clover (bobince)
Date: 2006-05-26 04:50

Message:
Logged In: YES 
user_id=311085

> I put a demo installer containing them

Seems to work OK. The thanks at the end still attributes the
graphic to Erik though; I'm not after an ack there myself,
but changing the text to not imply the current graphic is
his one may be appropriate.

> baselogo.svg; I assume this is a source file

Yes. This is just the Python logo itself (the gradient
version as used on the new website), in vector format.

> icons.svgz; can't figure out what this is

Same as source.xar, but exported as W3C standard SVG format
for wider compatibility [compressed, hence the 'z'].

Unfortunately because SVG cannot reproduce some of effects
used, and because the SVG export path is currently quite
bad, it's not really directly usable, but it might be of use
to anyone who wants to hack on the graphics but doesn't use
Xara.

> source.xar; not sure either

This is the primary vector graphics source of the icons -
the other SVG and PNG files are just there because other
people requested them.

It's in Xara format, a previously proprietary graphics
application which has now gone open-source and is heading
rapidly towards being usable on Linux, but isn't quite there
yet.

> a directory called png, with many png file - I expect
> that these aren't source files, are they?

Nope, they're just exactly the same content as in the
(with-vista) .ico files, just supplied as PNG for anyone who
wants to fiddle with them in a more accessible bitmap format.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-05-22 10:56

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. I have committed it as r46063. I put a
demo installer containing them at

http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.5.13290.msi

I would also like to add the source files, but I have
difficulties figuring out what they are. There is a source
directory; with:

- baselogo.svg; I assume this is a source file
- icons.svgz; can't figure out what this is
- source.xar; not sure either
- a directory called png, with many png file - I expect
  that these aren't source files, are they?

----------------------------------------------------------------------

Comment By: Andrew Clover (bobince)
Date: 2006-05-19 16:21

Message:
Logged In: YES 
user_id=311085

Sure, no worries. I'll fax over the -python version since I
have ancient contributions to cover too.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-05-19 13:22

Message:
Logged In: YES 
user_id=21627

Thanks! Are you willing to contribute them to the PSF, under
the terms of the contributor agreement at

http://www.python.org/psf/contrib/contrib-form/

?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1490384&group_id=5470


More information about the Patches mailing list