[Xfce-bugs] [Bug 1516] libxfcegui4: Cropped icons - GtkIconTheme icon scaling behaviour
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Tue Feb 28 22:24:53 CET 2006
Do NOT reply to this email. To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1516
------- Additional Comments From bjt23 at cornell.edu 2006-02-28 21:24 UTC -------
(In reply to comment #3)
> (In reply to comment #2)
> > That's too slow, actually (yes, I've benchmarked). In the past I've just
> > assumed the icon was square and w == h.
>
> You mean the scaling shows up in the profile, right?
Yup. And execution times with and without the aspect ratio check were quite
different.
> Any ideas about how this might be solved in a more efficient way?
Sure, Just do what XfceIconTheme does: assume the icon is square, and if width
!= size, rescale it to size x size.
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Xfce-bugs
mailing list