emacs-devel
[Top][All Lists]
Advanced

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

Re: X fonts selection weirdness


From: Kenichi Handa
Subject: Re: X fonts selection weirdness
Date: Wed, 25 Jun 2008 00:10:00 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

> > Thank you.  I've just installed a fix to pay attention to
> > DPI on font sorting.  Please try with the latest code again.

> I couldn't find the corresponding patch, so just to make sure: by "pay
> attention" you don't mean that you compare various fonts DPI, right?
> DPIs are irrelevant, what we want instead is to sort based on the pixel
> size or on pointsize/dpi.

What I modified is the function font_score.  I made it to
prefer the same DPI if the pixelsize is the same.
Previously, as this log shows:

sort-by: -misc-fixed-medium-r-normal--14-*-75-75-c-70-iso8859-1
  x:-misc-fixed-medium-r-normal--14-*-100-100-c-70-iso8859-1

the difference of DPI was ignored.

---
Kenichi Handa
address@hidden
 




reply via email to

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