help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Emacs gets font wrong at start up


From: rjd
Subject: Re: [h-e-w] Emacs gets font wrong at start up
Date: Fri, 26 Jun 2015 13:08:34 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

rjd <3246251196ryan <at> gmail.com> writes:

> 
> Hi,
> 
> here is my customization section:
> 
> (custom-set-faces
>  ;; custom-set-faces was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(default ((t (:family "Topaz-8" :foundry "outline" :slant normal :weight
> normal :height 68 :width normal))))
>  '(link ((t (:foreground "medium orchid" :underline t))))
>  '(which-func ((t (:foreground "Green")))))
> 
> Notice the font - topaz. This is a TTF I downloaded because I wanted an
> Amiga font. So I installed it to Font properly.
> 
> In an Emacs session I can 
> 
> Options->Set Default Font->select Topaz-8. Then, I can Options->Save Options
> and this updated my .emacs.
> 
> But, when I reopen Emacs it goes to a random font all the time.
> 
> To try and solve I M-X describe-font and copy and paste this to the function
> set-default-font but when I open Emacs it goes back to a random font again.
> I have to manually change it to TOPAZ again.
> 
> Any suggestions?
> 
> 

I should have said that I used the string produced by describe-font:

name (opened by):
-outline-Topaz-8-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1
       full name: Topaz-8-7.0
            size:  9
          height:  9
 baseline-offset:  0
relative-compose:  0

and put into .emacs :

(set-default-font
"-outline-Topaz-8-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1")

But when I open .emacs now I get the error:

error: Invalid font name,
-outline-Topaz-8-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]