Re: Emacs gets font wrong at start up

rjd <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Eli Zaretskii <eliz <at> gnu.org> writes:

> 
> > From: rjd <3246251196ryan <at> gmail.com>
> > Date: Fri, 26 Jun 2015 13:08:34 +0000 (UTC)
> > 
> > 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
> 
> Does this work:
> 
>   (set-default-font "Topaz-8")
> 
> 


Hi Eli,

so I add that to the .emacs file and now I get the error:


error: Font not available, #<font-spec nil nil Topaz nil nil nil nil nil 8.0
nil nil nil ((:name . Topaz-8) (user-spec . Topaz-8))>

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.