-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Here we share some examples for better use of MicroEmacs.
Many editors offer the possibility to increase or decrease the fontsize of your text editor by using Ctrl-Plus or Ctrl-Minus. This is since 2024 as well possible if using MicroEmacs. For the GUI version in Linux or MacOS with XQuartz it would be helpful to use as well the available true type fonts. Here a little shell code fragment which index the available TTF files on the current machine. You need to have mkfontscale to be installed to index the available fonts. This tool is required for older X11-applications. It is as well recommended to install xfontsel to select the fonts with a graphical user interface.
[[ -d ~/.local/share/fonts ]] || mkdir ~/.local/share/fonts
find /usr -iname "*Mono*.ttf" | xargs ln -s -t ~/.local/share/fonts/
mkfontscale ~/.local/share/fonts/
mkfontdir ~/.local/share/fonts/
xset +fp ~/.local/share/fonts/
xset fp rehash
For more details look at: https://github.com/bjasspa/jasspa/wiki/fonts