Re: Default face problem [was: Re: incomplete header-line with 3d boxes and prop fonts]
Kenichi Handa <handa <at> m17n.org>
2006-05-01 02:41:18 GMT
In article <m3aca6lyrz.fsf_-_ <at> kfs-l.imdomain.dk>, storm <at> cua.dk (Kim F. Storm) writes:
> storm <at> cua.dk (Kim F. Storm) writes:
>> Sascha Wilde <wilde <at> sha-bang.de> writes:
>>
>>>>> I still do see a heavy misalignment of the header line in ses (with
>>>>> X11), but only when using a font with an odd size
>>>>> (-*-terminus-medium-r-*-*-17-*-*-*-*-*-iso8859-1 here).
>>
>> I see it too.
>>
>> If I customize the default face, and change the height from 99 to 100,
>> it works again. I'll look into what's wrong.
This is because the current Emacs refuses to use an
auto-scaled font because it's usually too agree to use for
the editing work. It at first checks the availability of
the specified font (without checking it's auto-scaled or
not), but, later on deciding a font for a face, it lists
fonts matching with family-name and registry-name, then
selects the best one among them. On this selection,
auto-scaled font is refused even if scalable-fonts-allowed
is non-nil. So, in your case the 16-dots font (that is
surely included in terminus font package) is selected.
---
Kenichi Handa
handa <at> m17n.org