bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#709: font selection problem


From: Werner LEMBERG
Subject: bug#709: font selection problem
Date: Sun, 19 Oct 2008 04:45:41 +0200 (CEST)

> If I understand you right, running emacs with `-fn monospace-12'
> gives Andale Mono as the default font, and running emacs with no
> font argument gives Shinonome Gothic as the default font?  Is that
> right?

Yep.

> This is strange, since xft should take precedence over x.  What
> happens if you add the following line to .Xresources and do `xrdb
> .Xresources'?
> 
> Emacs*FontBackend: xft, x

I did that. Starting

  gdb --args emacs -Q

gives now

  xft:-ETL-Fixed-normal-normal-normal-*-16-*-*-*-c-*-iso10646-1 (#x1C)

for characters within the *scratch* buffer, and setting the default
font now suggests

  Fixed - Standard - 9

and repeated calls don't change this font.

Note, however, that there is a buglet: If I select size `14', Emacs
gives

  xft:-ETL-Fixed-normal-normal-normal-*-24-*-*-*-c-*-iso10646-1 (#x1C)

and displays this in the font preview of the selection window.  On the
other hand, if I select, say, `24', Emacs selects

 xft:-ETL-Fixed-normal-normal-normal-*-40-*-*-*-c-*-iso10646-1 (#x1C)

in the *sratch* buffer, but this size isn't shown in the font preview:
it displays the ETL-24 font too for this size.  With other words, font
preview doesn't apply correct scaling.

BTW, what unit are the size values?  Points?  Pixels?  This should be
indicated in the font selection menu.  It would be nice if the user
could select that.

> Also, which distribution are you running on?

openSuSE 10.2 (with additional fonts installed by me); this is quite
old, but never touch a running system :-)


    Werner






reply via email to

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