[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] Re: Unable to use Terminus bdf font under ntemacs 23
From: |
Phil Betts |
Subject: |
RE: [h-e-w] Re: Unable to use Terminus bdf font under ntemacs 23 |
Date: |
Tue, 18 Sep 2007 12:14:07 +0100 |
Yu-ning Feng wrote on Saturday, September 15, 2007 9:05 AM::
> On 9/13/07, Yu-ning Feng <address@hidden> wrote:
>> then screen becomes blank. Seems the font is not correctly handled.
>>
>
> If I put the cursor on the places where characters should be, correct
> glyph will appear. However, if I switch to another (Windows) window,
> and switch back, glyphs disappear.
>
> Anyone have met the same problem? Or, guess the reason of that if not.
> Thanks for any help.
This is not new. Exactly the same happens in:
GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE
This is purely a guess, but it looks like a native Windows function
is being called to display a string of characters, and that function
doesn't understand BDF fonts. Whereas the character under the cursor
is handled by an internal function which does understand BDF.
This may also explain why using ClearType and/or italics can cause
fragments of characters to be left behind if they are being drawn
using a Windows function, then erased by an internal function with a
slightly different idea of the rendered glyph's size/position.
Have you tried a TTF version of the BDF font? If the one on the
page you referenced doesn't look good (you do need to ensure that you
only use sizes that don't require scaling), there's a link to a page
with only the bitmapped versions. This works for me although each
size is a separate font which is a bit messy.
Phil