Correction for one Mac OS X icon file (bug 54820)

2012-09-13 Thread Nicholas Shanks
See the bottom of this bug for the summary:
https://bugs.freedesktop.org/show_bug.cgi?id=54820

I suspected as soon as I saw the behaviour, the PNGs from which the
icns file was generated specify a non-zero image offset (a.k.a.
vitrual canvas, or page). See:
http://www.imagemagick.org/Usage/basics/#page

However that does not appear to be the case:

mars:~ nickshanks$ identify main.png
main.png PNG 128x128 128x128+0+0 8-bit DirectClass 2.27KB 0.000u 0:00.019
mars:~ nickshanks$ identify main.png
main.png PNG 256x256 256x256+0+0 8-bit DirectClass 4.38KB 0.000u 0:00.000

(note the +0+0 canvas offset)
As such I don't know what caused the borders to appear, but anyway,
the file here fixes the issue:
http://web.nickshanks.com/libreoffice/revised-main-icon.tgz

Again, the file paths inside are relative to in the
core/sysui/desktop/ directory, so extracting there will overwrite the
old files. (And I gzipped it this time for all you gzip lovers out
there ;-)

The package also contains revised 512x512 and 1024x1024 icons, because
the originals were 2px and 4px too far left, respectively. When
zooming the icon size up and down, there was a perceptible jump at the
256–257px boundary. I also pngcrushed them (with -brute).

Note of caution to anyone working with PNGs on Mac OS X: Pixelmator
used an unexpected colour profile when opening an image which has no
embedded profile (might be my monitor's calibration profile?). I had
to use Acorn to move the pixels.

-- 
Nicholas.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Revised Mac OS X mimetype icons

2012-09-13 Thread Nicholas Shanks
Turned out the 2px/4px leftward shift error was present in all icons I
had exported from Inkscape. I blame Inkscape :-)
I have amended the PNGs and rebuilt the icns files.

http://web.nickshanks.com/libreoffice/mimetypes-revised.tgz

-- 
Nicholas.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Remove unused ooo icons intended for OS X

2012-09-03 Thread Nicholas Shanks
On 3 Sep 2012, at 14:11, Tor Lillqvist wrote:

 I will remove those unneeded files.

:-)

 But first, could you send the list a generic statement like all my past
 and future contributions to LibreOffice may be licensed under the
 MPL/LGPLv3+ dual license , thanks.

If it's really necessary (I didn't contribute anything, just raised awareness, 
kinda like filing a bug report). Other open source projects make statements 
like by contributing, you agree to license your code blah blah blah to avoid 
people having to make public declarations.

So, yes, all my past and future contributions to LibreOffice may be licensed 
under the MPL/LGPLv3+ dual license.

I have signed this message with my PGP key, if that helps at all.

— Nicholas.

signature.asc
Description: Message signed with OpenPGP using GPGMail
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice