[AppStream] Scaling info for icons in AppStream: scale / scaled / scaling_factor

Matthias Klumpp matthias at tenstral.net
Fri Apr 21 09:15:16 UTC 2017


2017-04-21 10:38 GMT+02:00 Richard Hughes <hughsient at gmail.com>:
> On 14 April 2017 at 03:08, Matthias Klumpp <matthias at tenstral.net> wrote:
>> Actually, I now called this property "scale".
>
> Can we have some guidance on how this is going to be used?

Yes, obviously this will be in the spec, I just haven't had the time
to commit the changes yet (they are really trivial though).

> e.g. are
> icons with scale=2 expected to be in a
> /usr/share/app-info/icons/fedora/64x64 at 2 folder?

Yes, the layout is the same as in the hicolor icon theme. If there is
a scaling factor > 1, the type "cached" icons should be in a subfolder
<size>@<scale> in the cache path, while else the subfolder is only
called <size>.

Cheers,
    Matthias

-- 
Debian Developer | Freedesktop-Developer
I welcome VSRE emails. See http://vsre.info/


More information about the AppStream mailing list