Describe changes to xpm rendering of fonts.

All these changes should address Issue #18
This commit is contained in:
Matthew Fidler 2016-04-04 08:32:02 -05:00
parent 30b56c9c37
commit ee94715ba7
2 changed files with 17 additions and 3 deletions

View file

@ -43,6 +43,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Allow desaturating and matching the mode-line face colors for xpm - Allow desaturating and matching the mode-line face colors for xpm
images. images.
- Allow emojis to be used as mode-icons - Allow emojis to be used as mode-icons
- Allow font icons to be used without the font.
- Add gimp inferior buffer to generate images for mode-icons,
preferring the xpm format.
### Removed ### Removed

View file

@ -38,11 +38,11 @@ Some of the modes that have icons instead of names now:
- [[http://fizzed.com/oss/font-mfizz][Font Mfizz]] - [[http://fizzed.com/oss/font-mfizz][Font Mfizz]]
- [[https://icomoon.io/#icons-icomoon][IcoMoon]] - [[https://icomoon.io/#icons-icomoon][IcoMoon]]
You need to have installed these on your system in order to use The icons look the best if you have the fonts installed on your
these fonts, mode-icons will not do this for you. system and mode-icons will not do this for you.
* Installation * Installation
** manually ** Manually
Place ~mode-icons.el~ somewhere in your =load-path= and copy the Place ~mode-icons.el~ somewhere in your =load-path= and copy the
~icons/~ directory there as well. Then =require= ~mode-icons~ in your ~icons/~ directory there as well. Then =require= ~mode-icons~ in your
@ -86,3 +86,14 @@ 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
** Making some icons display better
Some icons are derived from a font, and display better if you have the
font installed. Without the font they look a bit jagged (For example
the save icon, the spelling icon, etc)
[[http://i.imgur.com/zFNvAoz.png?1]]
Once the fonts are installed, the anti-aliasing makes the icons look better:
[[http://i.imgur.com/JkBMSPF.png]]