[calligra] krita/data/templates: Add design templates from deevad

Friedrich W. H. Kossebau kossebau at kde.org
Mon Jul 2 01:54:17 BST 2012


Hi Timothée,

Am Sonntag, 1. Juli 2012, 12:25:38 schrieb Timothée Giet:
> Git commit 08e1c0a139f19e2bbbd620dbbcaafcf9e991d9c0 by Timothée Giet.
> Committed on 01/07/2012 at 11:59.
> Pushed by timotheegiet into branch 'master'.
> 
> Add design templates from deevad
> 
> Some common useful basic templates.

There is a small issue with this commit:
all the .desktop files reference their preview images to be in the relative 
directory .icon/, but the CMakeLists.txt installs the images to the the icon 
dirs of Krita, 
As result they will not be found and the "Unknown" icon is displayed for all 
the "Design templates".

Attached patch fixes that. Okay to commit?

But there is still an issue with the icons. They must stored in a square size 
(with transparent parts), otherwise the KIconLoader adds black borders on 
making it square. And ideally they are in 128x128 size, as that is the max 
size used on the detail preview. That way no ugly upscaling happens.

(I currently investigate if there is a way to make KIconLoader use ARGB when 
loading the image, so it does not add black borders. Hopefully there is some 
PNG format flag which enforces ARGB)

Cheers
Friedrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixKritaDesignTemplates.patch
Type: text/x-patch
Size: 1182 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120702/e1c96bc9/attachment.bin>


More information about the calligra-devel mailing list