m-parashar / emax64

64-bit Emacs for Windows with ImageMagick 7
https://ntemacs.sourceforge.io/
GNU General Public License v3.0
315 stars 17 forks source link

No images/icons in mode line #23

Closed novoid closed 3 years ago

novoid commented 5 years ago

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 5 years ago

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.

bcully commented 5 years ago

same here

xeijin commented 5 years ago

@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

novoid commented 5 years ago

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?)

m-parashar commented 5 years ago

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 commented 4 years ago

https://github.com/m-parashar/emax64/releases/tag/20191225

See if this release helps.

xeijin commented 4 years ago

@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 4 years ago

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 4 years ago

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

m-parashar commented 3 years ago

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