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

Matthias Klumpp matthias at tenstral.net
Fri Apr 14 02:08:15 UTC 2017


2017-04-13 14:02 GMT+02:00 Matthias Klumpp <matthias at tenstral.net>:
> 2017-04-13 13:59 GMT+02:00 Richard Hughes <hughsient at gmail.com>:
>> On 13 April 2017 at 12:56, Matthias Klumpp <matthias at tenstral.net> wrote:
>>>  * scaling_factor
>>
>> This, based on your API argument. The length of the string isn't
>> important when the XML is compressed.
>
> Great, I was looking for your comment on this, actually ;-)
> I like when the properties are self-descriptive, and that's the case
> with scaling_factor.
> I might add it to the spec today :)

Actually, I now called this property "scale". The reason for this is
that the icon theme spec calls the scaling property "scale" everywhere
in its documentation, so reusing the name in the AppStream spec felt
like the right thing to do.
The API looks nice with it too :-)

Cheers,
    Matthias


More information about the AppStream mailing list