User Tools

Site Tools


it:emacs:fonts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
it:emacs:fonts [2021/06/22 23:45]
admin
it:emacs:fonts [2021/06/23 12:07] (current)
admin
Line 1: Line 1:
 ===== Adding Fonts in Pengwin WSL1 (2021-06-22) ===== ===== Adding Fonts in Pengwin WSL1 (2021-06-22) =====
  
-I was working on the [[https://eloquentjavascript.net/05_higher_order.html|Eloquent Javascript]] book online when I cut and pasted the code belo into Emacs, and found that the Emacs I was running (version 26 on windows) could not display color emojis.+I was working on the [[https://eloquentjavascript.net/05_higher_order.html|Eloquent Javascript]] book online when I cut and pasted the code below into Emacs, and found that the Emacs I was running (version 26 on windows) could not display color emojis.
  
 <code> <code>
Line 15: Line 15:
  
 Firstly, I tred an upgrade. The windows upgrade to the 27.2 version did not help. The binary available did not have Cairo installed, but the WSL pengwin version did. Firstly, I tred an upgrade. The windows upgrade to the 27.2 version did not help. The binary available did not have Cairo installed, but the WSL pengwin version did.
- 
-Next up was to download and install the emoji fonts from https://www.google.com/get/noto/help/emoji/. Installation was done through font-manager. I did a local install, which put the font files in ~/.local/share/fonts. This directory was different from some advice in the web which showed a manual install in ~./fonts. Apparently the latter is deprecated (https://github.com/13rac1/emojione-color-font/issues/14). You could install it manually via command line, but font-manager worked well for me. 
- 
-After the installation and running the code above, the emojis displayed. The I created a .emacs file for myself to make it load each time I start it up. 
- 
-==== See also ==== 
- 
-  * Harfbuzz 
-  * Cairo 
  
 Next up was to download and install the emoji fonts from https://www.google.com/get/noto/help/emoji/. Installation was done through font-manager. I did a local install, which put the font files in ~/.local/share/fonts. This directory was different from some advice in the web which showed a manual install in ~./fonts. Apparently the latter is deprecated (https://github.com/13rac1/emojione-color-font/issues/14). You could install it manually via command line, but font-manager worked well for me. Next up was to download and install the emoji fonts from https://www.google.com/get/noto/help/emoji/. Installation was done through font-manager. I did a local install, which put the font files in ~/.local/share/fonts. This directory was different from some advice in the web which showed a manual install in ~./fonts. Apparently the latter is deprecated (https://github.com/13rac1/emojione-color-font/issues/14). You could install it manually via command line, but font-manager worked well for me.
it/emacs/fonts.1624405548.txt.gz · Last modified: 2021/06/22 23:45 by admin