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

Re: jessie: how to suppress emacs24 warnings

Juha Heinanen wrote:
> Thanks for the tip.  After installing emacs24-lucid, the warnings
> disappeared, but I got a new one:
> $ emacs24-lucid 
> Warning: Cannot convert string "Monospace 10" to type FontStruct
> I have defined in .Xresources
> Emacs*font: Monospace 10
> and that used to work in emacs24.

Fonts!  Ugh.  We get to discuss fonts.  Do I want to open that
discussion up?  I am not an expert in fonts.  But I didn't think that
"Monospace 10" was a valid font name.

Is that equivalent to 6x10 or 10x20?  Try one of these:


That will probably work for you and you might be happy at that point.
But let me try to convince you to try a unicode font.

In the old days we would have used fixed width fonts like some of these:

But those are US-ASCII fonts only.  All of the non-ascii characters
can't be rendered in them.  These days UTF-8 is everywhere.  So
instead of a fixed us-ascii font these days it is really much better
to use a unicode font.  One of the ISO-10646 fonts.  Try an ISO10646
font and then you will have all of the accents and umlauts working.

I like the efonts.  Fonts are such a personal preference that there is
nothing more to be done than just to try fonts and decide on what you
like for yourself.

  apt-get install xfonts-efont-unicode xfonts-efont-unicode-ib

Then you can configure emacs to use them this way:

  XTerm*Font: -efont-fixed-medium-r-normal-*-16-*-*-*-*-*-iso10646-1
  XTerm*Font2: -efont-fixed-medium-r-normal-*-12-*-*-*-*-*-iso10646-1
  XTerm*Font3: -efont-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1
  XTerm*Font4: -efont-fixed-medium-r-normal-*-16-*-*-*-*-*-iso10646-1
  XTerm*Font5: -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
  XTerm*Font6: -efont-fixed-medium-r-normal-*-24-*-*-*-*-*-iso10646-1

You would probably also like these fonts too.

  xfonts-unifont xfonts-terminus-dos xfonts-terminus-oblique xfonts-terminus

You can browse the names of fonts using xlsfonts.

  xlsfonts | less
  xlsfonts | grep fixed-medium.*iso10646 | less

I am far from a font expert.  However I know what I like and people
who are really into fonts usually like things I don't like.  If you
have been using a monospace 10 point font then you probably want one
of the fixed medium r normal fonts just like I do.


Attachment: signature.asc
Description: Digital signature

Reply to: