(tips) How to display "delta" symbol with Windows font

Recently, Jethro added delta symbols to the message you see when you launch Org-roam, or manually run org-roam-db-build-cache command.

You might have seen this – the delta symbol is not correctly displayed on some (Windows supplied) fonts, such as Consolas.

Here is how you can fix it:

Add this after you set up your main (`default) font. This line instructs Emacs to use the Comabria Math font (I hope it is standard with Windows) only for the delta symbol (defined at code point 120491), and keep the rest presented by the default font.

1 Like

Just quickly updating this.

@zaeph recently updated Org-roam with this. Thank you for the quick change Zaeph; I didn’t think it was worth reporting as an issue (I even thought it might have been very minor with Windows fonts).

You can delete the line 27 that defines Cambria Math.
This previous line will be used to specify the font (Segoe UI Symbol). You can even remove it because Consolas can display the new delta symbol (I want to keep Segoe UI Symbol for other symbols though).

The new delta symbol looks like this with using the Consolas font:

Oh yes, sorry that I forgot to ping you on this. The change was indeed prompted by this series of posts.

1 Like