← Back to team overview

kicad-developers team mailing list archive

Re: svg icon cmake file - cross platform problem ?

 

G'day jean-pierre,

yep, you are correct, it's the bloody "#" inside the black box... well
I am sending here cpp, png and svg that compile and shows well in my
machine.

I also noticed that the icon find.svg has been renamed few times and
does not compile well. I attach the good one too. Please delete the
others find.svg files.

I hope this will help.
cheers
Fabrizio



On Mon, Mar 26, 2012 at 8:45 PM, jean-pierre charras
<jp.charras@xxxxxxxxxx> wrote:
> Le 25/03/2012 13:16, Fabrizio Tappero a écrit :
>
>> Hello,
>> in attachment you can see the current kicad (cvpcb) icon bar as well
>> as my cvpcb built few mins ago with the command:
>>
>> sudo cmake ../ -DKICAD_TESTING_VERSION=ON -DCMAKE_BUILD_TYPE=Debug
>> -DMAINTAIN_PNGS=ON
>>
>> There seem to be an icon problem ( the one on the right). I see from
>> the bzr log that jean-pierre built that and I wonder if the problem is
>> because you built it on windows?
>>
>> If I had to say what the problem is, well maybe is the option
>> "--export-area-snap" in line 536 of bitmaps_png/CMakeList but maybe
>> not.
>>
>> Either way, jean-pierre, could you please try to rebuild kicad with:
>>
>> sudo cmake ../ -DKICAD_TESTING_VERSION=ON -DCMAKE_BUILD_TYPE=Debug
>> -DMAINTAIN_PNGS=ON
>>
>> to see if maybe you just forgot to merge this bad icon.
>>
>> Unfortunately when you try to make icons, pixel alignment determines
>> the difference between sharp and fuzzy icons.
>>
>> cheers
>> Fabrizio
>
>
> Fabrizio,
>
> I am thinking you are talking about module_pin_filtered_list icon,
> and the position of the '#' symbol inside the black square area.
> I am thinking the .cpp files have no problem.
> module_pin_filtered_list icon looks *exactly* like the svg source icon, and
> not like your (better) icon.
>
> So can you check the corresponding .svg file and re-send me this .svg file?
> --
> Jean-Pierre CHARRAS
>

Attachment: find.svg
Description: image/svg

Attachment: module_pin_filtered_list.svg
Description: image/svg

/* Do not modify this file, it was automatically generated by the
 * PNG2cpp CMake script, using a *.png file as input.
 */

#include <bitmaps.h>

static const unsigned char png[] = {
 0x89, 0x50, 0x4e, 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 0xa4, 0xf6, 0x1f, 0x9e, 0x74, 0xb6, 0x74, 0x3b, 0xdb, 0xdb, 0xe1, 0xfb, 0xf6, 0x36,
 0xbd, 0x8b, 0xb6, 0xd6, 0x56, 0x88, 0xee, 0xee, 0xa2, 0xb1, 0x62, 0xe9, 0xab, 0x82, 0xf0, 0x08,
 0x96, 0xaf, 0x3a, 0x33, 0x5f, 0xb8, 0x25, 0x69, 0xc8, 0xe5, 0x9a, 0x64, 0xf2, 0x69, 0x76, 0x16,
 0xe6, 0xe7, 0xe6, 0x88, 0x4f, 0x4d, 0x4c, 0xc0, 0xe7, 0xf9, 0x79, 0xd5, 0x1e, 0x53, 0x05, 0xa5,
 0x0a, 0x1c, 0x78, 0xd8, 0x4c, 0x0f, 0xff, 0x7f, 0x10, 0x42, 0x30, 0x98, 0x16, 0xb0, 0x9f, 0x02,
 0xa6, 0x55, 0x1f, 0x27, 0xc7, 0xf6, 0x5d, 0xf7, 0x2f, 0xf1, 0x1b, 0x0c, 0xfc, 0xf5, 0xb8, 0xe2,
 0x7e, 0x3a, 0xcb, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};

const BITMAP_OPAQUE module_pin_filtered_list_xpm[1] = {{ png, sizeof( png ), "module_pin_filtered_list_xpm" }};

//EOF

Attachment: module_pin_filtered_list.png
Description: PNG image


References