Re: gtk_icon_theme_load_icon and GDK_SCALE=2 results in blurry icon

Hi Stefan,

On Tue, 2017-10-03 at 16:59 +0200, Stefan Salewski wrote:
Have you tried

Yes I have tried gtk_icon_theme_lookup_icon_for_scale().
Passing size=64 and scale=2 to this function results in a blurry icon
of size 256. It seems the icon is scaled twice - once by "scale" and
more by GDK_SCALE=2.
Passing scale=1 gets me a blurry 128-size icon.

There you will find a reference to

where notes about displays with high pixel densities exists.

I guess you meant gtk_icon_theme_lookup_icon(). It just says to use
gtk_icon_theme_lookup_icon_for_scale(), which gets me a blurry icon.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]