[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font scaling in CVS Emacs (and Emacs 21.3)
From: |
Kim F. Storm |
Subject: |
Re: Font scaling in CVS Emacs (and Emacs 21.3) |
Date: |
Fri, 05 Nov 2004 22:41:43 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Christian Schlauer <address@hidden> writes:
> address@hidden (Kim F. Storm) writes:
>
>> Christian Schlauer <address@hidden> writes:
>>
>>> In my screenshot (the one attached to my original posting), the `T' of
>>> `This is GNU Emacs' has a height of 10 pixels, and the `C' of
>>> `Copyright (C) 2002' has a height of 4 pixels.
>>
>> Consider these fonts of height 13 and 6:
>>
>> .........
>> .XXXXXXX.
>> ....X....
>> ....X....
>> ....X....
>> ....X....
>> ....X....
>> ....X.... ..XXX.
>> ....X.... .X....
>> ....X.... .X....
>> ....X.... ..XXX.
>> ......... ......
>> ......... ......
>>
>> 10/2 = 4. QED!
>
> I am trying to understand what you mean:
>
> The font size is 13. Scale to 0.5 means 13/2 = 6, which means that
> there are only 4 pixels available for the height of uppercase letters
> like C. Is this right?
Right.
> You confused me a bit with 10/2 = 4, that's why
> I am asking...
I should have put a ;-) there.
>
> If that is correct, then rounding up in such cases could be a good
> idea, i.e., 13/2 = 7. I just saw again that Jason mentioned that
> already in this thread (or at
> <URL:http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-10/msg00210.html>).
I guess, it will generate more readable results for small font sizes.
--
Kim F. Storm http://www.cua.dk