#5 use xrender to scale icons

Next Release
Interface (3)
James Buren

Currently, the jwm code uses some fast but ugly software scaling. XRender can be used to scale X11 pixmaps, with a filter that makes them more beautiful despite being scaled. Perhaps you can write code to use XRender if it is available, but keep the old code so there is a fallback. I know this can be done because I've played with it before. It works well, but the filters get disabled for some reason if you scale anything beyond 300x300, at least on my system. Most icons fall well below this. If you need some code samples or other help, I can provide some.


  • Joe Wingbermuehle

    • status: open --> closed
  • Joe Wingbermuehle

    This should be addressed by SF revision 267 and joewing.net revision 515.
    I didn't add any code to handle icons over 300x300, but since icons probably won't be that large (and I really think xrender should be able to handle them anyway), I'm inclined to ignore that issue for now.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks