View previous topic :: View next topic |
Author |
Message |
Jackie Lin Tux's lil' helper
Joined: 31 May 2017 Posts: 115
|
Posted: Sun Jun 18, 2017 8:24 am Post subject: emacs in plasma can not find font installed in system |
|
|
Hi, there.
I copied monaco font to /usr/share/fonts/monaco/, and mkfontdir, mkfontscale. I can select Monaco font in Plasma Preferrence.
but in emacs, I write the following in .emacs:
Code: |
(set-frame-font "Mocano 18" nil t)
(add-to-list 'default-frame-alist '(font . "Monaco 18"))
|
when I eval-buffer, emacs indicates that font is not available.
Neither monaco nor other system font can not be found by emacs.
I reemerged emacs with USE gsettings, and still emacs can not find system font.
I have font DejaVu Sans Mono in system. When I use the command 'emacs --font "DejaVu Sans Mono 18" ' to start emacs, the output is 'font is not defined'.
when I fc-list, there is a long list of font name, and that is what saw in plasma font management.
but when I xlsfonts, the output is:
Code: |
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13
cursor
fixed
|
that is what emacs is using.
Could anyone help me? Thanks! _________________ peace, focus. |
|
Back to top |
|
|
Jackie Lin Tux's lil' helper
Joined: 31 May 2017 Posts: 115
|
Posted: Sun Jun 18, 2017 2:24 pm Post subject: |
|
|
I reemerged emacs with USE "xft", everything works fine. _________________ peace, focus. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|