Materialdesign: Unsharp "Plus" Icon, even on materialdesignicons Site

Created on 4 Sep 2019  路  3Comments  路  Source: Templarian/MaterialDesign

Hey there,

just by testing i found out that the "Plus" Icon (used via svg) is blurry/unsharp in Medium Size (36px). Its the normal "Plus" by Google.

Also seen on the https://materialdesignicons.com/ Site.

Viewed with Firefox: 68.0.2 (64 Bit)

Screenshot_2019-09-04 Material Design Icons

Greetings

Bug

Most helpful comment

This is gonna be the case for most of the thinner icons. Each grid square is scaled by 1.5 so a lot of the on-grid pixels end up on grid boundaries for 36dp icons.

The actual path of the plus icon takes up a 14x14dp square. When this is scaled up to 36dp, the path takes up 14dp*1.5=21dp. Now 36dp minus that 21dp gives 15dp which means the space either side of the icon is 7.5dp causing the icon path to straddle the gridlines. The 2dp lines of the original icon end up being 3dp lines at 36dp with half a pixel being added to either side of the line causing the icon to appear blurred.

On high DPI displays this shouldn't matter assuming each device pixel is 4 actual pixels but for low DPI displays you either have to live with the issue, add in an extra bit of padding somewhere to optically re-align the icon, or stick to using multiples of two of the base icon size.

All 3 comments

This is not an issue with the icon; the icon is perfectly on the grid:

image

Also, all whole numbers: M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z.

Just updated to newest Firefox Version, same Result.
Any Way to fix this on Firefox?
Seems a little off.

Any other Icon i just randomly picked via the Cheatsheet works perfectly on Medium Size

This is gonna be the case for most of the thinner icons. Each grid square is scaled by 1.5 so a lot of the on-grid pixels end up on grid boundaries for 36dp icons.

The actual path of the plus icon takes up a 14x14dp square. When this is scaled up to 36dp, the path takes up 14dp*1.5=21dp. Now 36dp minus that 21dp gives 15dp which means the space either side of the icon is 7.5dp causing the icon path to straddle the gridlines. The 2dp lines of the original icon end up being 3dp lines at 36dp with half a pixel being added to either side of the line causing the icon to appear blurred.

On high DPI displays this shouldn't matter assuming each device pixel is 4 actual pixels but for low DPI displays you either have to live with the issue, add in an extra bit of padding somewhere to optically re-align the icon, or stick to using multiples of two of the base icon size.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kanga-Who picture Kanga-Who  路  3Comments

kimdv picture kimdv  路  3Comments

danielhickman picture danielhickman  路  3Comments

JackDrakkar picture JackDrakkar  路  3Comments

xaviergonz picture xaviergonz  路  3Comments