andy-portmen / country-flags

adds a toolbar button to browser address-bar displaying current physical location of visited website
https://webextension.org/listing/country-flags.html
Mozilla Public License 2.0
133 stars 35 forks source link

Blurry flags on high dpi/4K screens #74

Closed dabiOW closed 3 years ago

dabiOW commented 3 years ago

Not a major issue, but some flags don't look great on Windows with 150% scaling, which is the default on a 4K monitor. Here's a comparison with no scaling.

flags

andy-portmen commented 3 years ago

Based on your report, I added support for 24px icons (1.5 of 16px, which is the default size). The problem is that at this moment, neither Chrome nor Firefox read the 24x icon, instead they resize the 16px icon that causes the blurry issue. This is the best we can do at the moment.