m-parashar/emax64

No images/icons in mode line

novoid opened this issue · 10 comments

After upgrading from the 25.x to 26.2 (latest Windows 10), I noticed that all graphics I tend to have in my mode line are back to text only:
https://github.com/ryuslash/mode-icons and also https://github.com/TeMPOraL/nyan-mode

Maybe somebody can confirm this effect.

Let me know when I should check something.

etern commented

I can confirm this, something wrong with icons.
Not only nyan mode, tool-bar-mode icons seems like pure text.
If I try to open neotree which uses all-the-icons , emacs will freeze, from task manager, I can see it consumes a lot of cpu and memory.

same here

@novoid @etern @bcully I wonder if this is because the latest version is built with Imagemagick 7 rather than version 6?

I believe version 7 is currently incompatible with emacs in general, Windows aside, if it's being used to render icons / graphics that may explain why these are not showing

I'm sorry: I don't have access to the Windows 10 machine that had the issue any longer.

@etern or @bcully: Are you willing to take over? (Or should I close the issue?)

I will attempt another patched build by this weekend.

@xeijin The whole point of these releases is to build against IM7 and the last few releases have worked as expected. Changes to the last official release may have introduced incompatibility with IM7 patch, hence the issues.

PS: My work leaves little time these days to tinker with software and patch broken support. If I cannot continue to provide production quality builds and support, I would prefer if someone else took over and continued the work. Let me know if anyone is willing.

@m-parashar I can see some icons now in the mode-line (e.g. the icon for git) but I get the feeling these are glyphs from fonts rather than images, the mode-line looks a little strange, very much like the one from terminal rather than GUI emacs

etern commented

The problem still exists in latest release emax64-28.0.50-20191229, cannot use nyan-mode, since nyan-mode uses XPM, I tested with (image-type-available-p 'xpm), it returns nil.

I'm currently using this release pdumper-20180619, (image-type-available-p 'xpm) returns t

etern commented

Copy the libXpm-noX4.dll from pdumper-20180619/bin to emax64-28.0.50-20191229/bin can solve the problem.

Here the doc says xpm need libxpm

The latest release should have solved this. Please reopen if it hasn't.