Re: gtk_icon_theme_load_icon and GDK_SCALE=2 results in blurry icon
- Date: Tue, 03 Oct 2017 19:43:07 +0400
- From: Alexander Shaduri <ashaduri@xxxxxxxxx>
- Subject: Re: gtk_icon_theme_load_icon and GDK_SCALE=2 results in blurry icon
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.
gtk-list mailing list