Prevent font errors
Closed this issue · 3 comments
Compro-Prasad commented
Menlo is a font not available by default on many systems apart from Mac. So, I would suggest to set this font only when system is darwin
. system-type
might be useful in such a case.
takaxp commented
It could be checked to see (font-family-list)
.
Compro-Prasad commented
Yup. Its as simple as:
(when (member "menlo" (font-family-list))
(set-face-attribute 'default nil :font "Menlo 15"))
@freetonik Just check if the name is correct and it should be good to go.
freetonik commented
Thanks!