doomemacs / doomemacs/core

"+ligatures/install-patched-font" Does not Install 'Fira Code Symbol' Font to ~/.local/share/fonts

Open
#5,163 2 comments 2 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

###

- [X] I have searched [the FAQ](https://doomemacs.org/docs/faq.org) and [the documentation](https://doomemacs.org/docs/getting_started.org) for solutions.
- [X] I have searched [the issue tracker](https://github.com/hlissner/doom-emacs/issues) for similar issues (the closed issues too).
- [X] I have searched [the Discourse](https://doomemacs.org/d/docs) for any errors and solutions.
- [X] I can reproduce my issue on [the latest commit](https://github.com/hlissner/doom-emacs/commit) of Doom Emacs.
- [X] I have read [How to Debug Issues](https://doomemacs.org/d/how2debug) and found no solution.

### What did you expect to happen?

I was attempting to enable ligatures for Fira Code. I followed the instructions provided in:
https://github.com/hlissner/doom-emacs/tree/develop/modules/ui/ligatures
See repro Below for steps.

After running the command "+ligatures/install-patched-font" and restarting doom-emacs I expected Fira Code Ligatures to be displayed properly but they were not.

### What actually happened?

After running the script, ligatures were not displayed properly

![image](https://user-images.githubusercontent.com/6531363/121365163-69fb5d80-c906-11eb-856e-5ef11b2503f2.png)

### Describe your attempts to resolve the issue

I discovered the script was not actually installing 'Fira Code Symbol' to the directory ~/.local/share/fonts/

I was able to resolve by running `yay -S otf-fira-code-symbol`. Ligatures now display properly

I resolved my issue, but I am thinking there could be a problem with the script.

### Steps to reproduce

1. Set :ui (ligatures + fira) in $DOOMDIR/init.el
2. Set doom font to Fira Code: (setq doom-font (font-spec :family "Fira Code" :size 13)
3. `doom sync`
3. Restart Emacs and Run: `M-x +ligatures/install-patched-font` to install `Fira Code Symbol`
4. `ls ~/.local/share/fonts | grep "Fira Code Symbol"` returns nothing

### System Information

https://pastebin.com/7aK5G8SG

Contributor guide

Open the contributing guide

Research direction

Start in modules/ui/ligatures and trace the +ligatures/install-patched-font command described in the issue. Reproduce it with the shown init.el settings, then verify whether Fira Code Symbol appears under ~/.local/share/fonts/ and whether ligatures display after restarting Emacs. Done means the command installs the required font and the reported Fira Code ligatures work.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.