[Sugar-devel] Force icon sizes in style.py to be even numbers
Gary Martin
garycmartin at googlemail.com
Tue Oct 4 14:45:37 EDT 2011
On 4 Oct 2011, at 14:29, Daniel Drake wrote:
> 2011/10/3 Daniel Drake <dsd at laptop.org>:
>> STANDARD_ICON_SIZE = zoom(55) & ~1
>
> Walter points out that many icons are designed at 55px.
> However, while our standard format is svg, it shouldn't matter that we
> would now render at 54. Or would it? Gary, thoughts?
From a visual point of view, if folks have spent time putting horizontal and vertical vectors in expected integer positions – I'm occasionally known to be that tweaky ;) – then they will start going a little blurry as they shift over fractional pixels. I'm not sure how critical/obvious that would be without giving it a test, but I don't think a loss of 1 unit height/width out of 55 units in itself would be noticed. I'm more worried about other non-visual side effects, e.g. will this have effects on toolbar icon spacing, toolbar heights, frame thickness?
--Gary
> There is still the option of fixing things only for parts of the code
> that use the neighborhood/friends views, even if it is a little more
> painful.
>
> Thanks,
> Daniel
More information about the Sugar-devel
mailing list