[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs chooses wrong bold font, again
From: |
Kenichi Handa |
Subject: |
Re: emacs chooses wrong bold font, again |
Date: |
Fri, 27 Jun 2008 11:12:01 +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>, Glenn Morris <address@hidden> writes:
> Glenn Morris wrote:
> > Anyway, bold now looks ok.
> The current CVS is back to using overstriking for bold again.
> C-u x = on a bold character reports:
> 22: -Misc-Fixed-Bold-R-Normal--14-130-75-75-C-70-ISO8859-1
> CVS: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
> I am using in ~/.Xdefaults:
> Emacs.font: -misc-fixed-medium-r-normal-*-14-*-100-100-*-*-iso8859-1
I was going to explain the change about this issue.
I had been trying to support such a case (i.e. the DPI
specified for the default font is different from the
preferred bold version) by loosing the rule in font listing
routine, but I realized that it's causes another weird
problem that is more difficult to workaround. So, I changed
that rule more strict. As the result:
> list: -misc-fixed-*-r-normal--*-100-100-c-70-iso8859-1
lists just these X fonts:
> -misc-fixed-bold-r-normal--13-*-100-100-c-70-iso8859-1
> -misc-fixed-medium-r-normal--13-*-100-100-c-70-iso8859-1
> -misc-fixed-medium-r-normal--14-*-100-100-c-70-iso8859-1
and, thus we get this result:
> sort-by: -misc-fixed-bold-r-normal--14-*-100-100-c-70-iso8859-1
> x:-misc-fixed-medium-r-normal--14-*-100-100-c-70-iso8859-1
because the size is more important than weight (according to
face-font-selection-order).
> If I change the above to:
> Emacs.font: -misc-fixed-medium-r-normal-*-14-130-75-75-*-*-iso8859-1
> then CVS chooses the right bold font.
Yes, that's the workaround I was going to suggest. If you
want these fonts:
default: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
bold: -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1
I think there's no problem in specifying Emacs.font as
above, and that is more reasonable. Anyway...
> It's no problem for me to do
> that, I'm just pointing out that the previous form has stopped working
> in case it should be fixed.
thank you for keeping watch on this problem.
---
Kenichi Handa
address@hidden
- emacs chooses wrong bold font, again, Glenn Morris, 2008/06/18
- Re: emacs chooses wrong bold font, again, Kenichi Handa, 2008/06/19
- Re: emacs chooses wrong bold font, again, Glenn Morris, 2008/06/20
- Re: emacs chooses wrong bold font, again, Kenichi Handa, 2008/06/20
- Re: emacs chooses wrong bold font, again, Glenn Morris, 2008/06/21
- Re: emacs chooses wrong bold font, again, Glenn Morris, 2008/06/26
- Re: emacs chooses wrong bold font, again,
Kenichi Handa <=
- Re: emacs chooses wrong bold font, again, Glenn Morris, 2008/06/27
- Re: emacs chooses wrong bold font, again, Stefan Monnier, 2008/06/27