mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-11-22 01:50:28 +01:00
Add description of how to add xpm font images
This commit is contained in:
parent
6ba8b2ba36
commit
771259193a
1 changed files with 15 additions and 0 deletions
15
README.org
15
README.org
|
@ -86,4 +86,19 @@ and use the black and white image by setting:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq mode-icons-grayscale-transform nil)
|
(setq mode-icons-grayscale-transform nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
** Creating xpm images from fonts
|
||||||
|
To create/recreate all the xpm images for the font images, you can
|
||||||
|
run =M-x mode-icons--convert-all-font-icons-to-xpm=.
|
||||||
|
|
||||||
|
This requires a working =gimp= installation, and all the fonts for the
|
||||||
|
icons installed. This will start an inferior scheme process for
|
||||||
|
=gimp= in =*mode-icons-gimp*= and convert all the images to xpm files.
|
||||||
|
|
||||||
|
After the images are created, you can stop the =gimp= process by
|
||||||
|
typing:
|
||||||
|
|
||||||
|
=M-x mode-icons--stop-gimp-inferior=
|
||||||
|
|
||||||
|
This should be stopped evetually if there is no input received to gimp.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue