all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* X fonts selection weirdness
@ 2008-06-24  3:42 Yoshiaki Kasahara
  2008-06-24  4:21 ` Miles Bader
  2008-06-24  4:53 ` Kenichi Handa
  0 siblings, 2 replies; 25+ messages in thread
From: Yoshiaki Kasahara @ 2008-06-24  3:42 UTC (permalink / raw)
  To: emacs-devel

Hello,

I just want to use a specific font for my emacs, using X font backend
(I don't like AA fonts for editing).

When I start emacs with an XLFD font like this:

src/emacs -Q -fn '-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1' -xrm 'Emacs.FontBackend: x'

'-misc-fixed-medium-r-normal--14-101-100-100-c-70-iso8859-1' is
selected instead (the displayed characters are distorted by
auto-scaling).

I don't understand why the DPI value is changed to 100.  I explicitly
specified my X server's DPI as 75x75.  Actually I don't care about the
actual DPI setting of X server.  I just want to specify the exact font
name.

Maybe the pointsize '101' is come from X server (by auto-scaling):

% xlsfonts -fn '-misc-fixed-medium-r-normal--14-*-100-100-c-70-iso8859-1'    
-misc-fixed-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1

x-list-fonts returns undesired values for me:

(x-list-fonts "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1")
("-misc-fixed-medium-r-normal--13-*-100-100-c-70-iso8859-1" "-misc-fixed-medium-r-normal--13-*-100-100-c-80-iso8859-1" "-misc-fixed-medium-r-normal--13-*-75-75-c-70-iso8859-1" "-misc-fixed-medium-r-normal--13-*-75-75-c-80-iso8859-1" "-misc-fixed-medium-r-normal--14-*-100-100-c-70-iso8859-1" "-misc-fixed-medium-r-normal--14-*-75-75-c-70-iso8859-1" "-misc-fixed-medium-r-normal--15-*-100-100-c-90-iso8859-1" "-misc-fixed-medium-r-normal--15-*-75-75-c-90-iso8859-1")

On the other hand, "a14" returns a better result.

(x-list-fonts "a14")
("-Misc-Fixed-medium-r-normal--14-*-75-75-c-70-ISO8859-1")

Is there a way to instruct emacs to use the exact font if available?
Also I want to avoid auto-scaling if possible (because it always
results in ugly glyphs).

By the way, even when using X font backend, Shift-Mouse-1 shows xft
font selection menu now.  Is there a way to revive the fontset
selection menu?

Regards,
-- 
Yoshiaki Kasahara
Research Institute for Information Technology, Kyushu University
kasahara@nc.kyushu-u.ac.jp




^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2008-07-15  3:34 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24  3:42 X fonts selection weirdness Yoshiaki Kasahara
2008-06-24  4:21 ` Miles Bader
2008-06-24  6:20   ` Yoshiaki Kasahara
2008-06-24  4:53 ` Kenichi Handa
2008-06-24  5:57   ` Yoshiaki Kasahara
2008-06-24  7:02     ` Kenichi Handa
2008-06-24  9:08       ` Yoshiaki Kasahara
2008-06-25  7:47         ` Kenichi Handa
2008-06-25  7:55           ` Miles Bader
2008-06-25  8:05             ` Jason Rumney
2008-06-25 11:31             ` Kenichi Handa
2008-06-25 13:45               ` Miles Bader
2008-06-25 14:04                 ` Miles Bader
2008-06-26 11:40                 ` Kenichi Handa
2008-06-26 21:20               ` Richard M Stallman
2008-06-27  0:32                 ` Kenichi Handa
2008-06-27 15:38                   ` Richard M Stallman
2008-06-25  8:15           ` David Kastrup
2008-07-09  1:42             ` Kenichi Handa
2008-07-15  3:34               ` Yoshiaki Kasahara
2008-06-26  7:39           ` Yoshiaki Kasahara
2008-06-24 12:42       ` Stefan Monnier
2008-06-24 15:10         ` Kenichi Handa
2008-06-24 18:46           ` Stefan Monnier
2008-06-25  0:36             ` Kenichi Handa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.