You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it stands, the font setting functions are not fault-tolerant at all. If a font does not exist on the system, there is simply no error except the one raised by Emacs itself, which then halts the init process. For instance, the default font in my configuration is Fira Code, but this font is not installed on some machines that I work on, and I have to make local changes to my configuration to prevent a failure in loading.
I intend to work on this one—it will involve defining a pre-defined font hierarchy alist—as users add fonts, they can prepend to this list cons cells of the form ("Font Family Name" . default-size). We can also write defuns for interacting with this list.
The text was updated successfully, but these errors were encountered:
As it stands, the font setting functions are not fault-tolerant at all. If a font does not exist on the system, there is simply no error except the one raised by Emacs itself, which then halts the init process. For instance, the default font in my configuration is Fira Code, but this font is not installed on some machines that I work on, and I have to make local changes to my configuration to prevent a failure in loading.
I intend to work on this one—it will involve defining a pre-defined font hierarchy alist—as users add fonts, they can prepend to this list cons cells of the form
("Font Family Name" . default-size)
. We can also write defuns for interacting with this list.The text was updated successfully, but these errors were encountered: