rougier / svg-lib

Emacs SVG libraries for creatings tags, icons and bars
GNU General Public License v3.0
339 stars 30 forks source link

Problem with icon scaling (200%, GTK3 build) #46

Open dgutov opened 3 months ago

dgutov commented 3 months ago

Like discussed in https://github.com/jdtsmith/kind-icon/issues/22#issuecomment-2189593792,

this recipe:

(insert-image (svg-lib-icon  "folder" kind-icon-default-style)) 

leads to the icon being twice as big as it should.

jdtsmith commented 2 months ago

Any ideas on this one @rougier? Some systems get icons that are roughly twice as large as expected, but I haven't figured out a pattern.

rougier commented 1 month ago

Sorry for the long delay. Do you know if your desktop has any kind of software scaling factor ?

jdtsmith commented 1 month ago

@jilen is that true in your case? I have HDPI on Mac but have never encountered this. From my recollection, it seems to be with some Linux HDPI systems.

dgutov commented 1 month ago

Do you know if your desktop has any kind of software scaling factor ?

200%, yes (that's the scaling I'm referring to in the title).