GNU bug report logs - #2761
Tibetan font selection broken

Previous Next

Package: emacs;

Reported by: Kenichi Handa <handa <at> m17n.org>

Date: Tue, 24 Mar 2009 01:20:03 UTC

Severity: normal

Merged with 2722

Done: Kenichi Handa <handa <at> m17n.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Kenichi Handa <handa <at> m17n.org>
Subject: bug#2761: marked as done (Tibetan font selection broken)
Date: Tue, 24 Mar 2009 01:50:06 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 24 Mar 2009 10:44:48 +0900
with message-id <E1LlvhA-0007Ty-5h <at> etlken>
and subject line Re: bug#2761: Acknowledgement (Tibetan font selection broken)
has caused the Emacs bug report #2761,
regarding Tibetan font selection broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
2761: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2761
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kenichi Handa <handa <at> m17n.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: emacs-pretest-bug <at> gnu.org
Subject: Re: Tibetan font selection broken
Date: Tue, 24 Mar 2009 10:11:43 +0900
In article <m23ad97bag.fsf <at> igel.home>, Andreas Schwab <schwab <at> linux-m68k.org> writes:

> This change:

> 2009-03-05  Kenichi Handa  <handa <at> m17n.org>

> 	* font.c (font_select_entity): New function.
> 	(font_find_for_lface): Use font_select_entity to select a font.

> 	* fontset.c (fontset_find_font): If a font found without
> 	restricting of the characters C doen't support C, try to find a
> 	font with C restriction.

> has broken display of tibetan characters.  The characters are no longer
> found in the gnu-unicode font.  Instead a weird, one-pixel wide empty
> box is shown for each font (see the attached snapshot).  I have also
> attached the font logs from before and after that change.

Actually this change revealed two bugs.

> The problem appears to be that the font encoding muletibetan-0 is
> unknown to Emacs.  The only reference is in
> face-font-registry-alternatives, which is not used by
> find_font_encoding.

Yes.  That's one bug.  I added an entry for muletibetan-0 in
font-encoding-alist.

Another bug is the handling of unknown encoding in X font
backend, which caused that weird one-pixel wide empty box.
I fixed that too.

But, please note that these fixes results in selecting the
font:
  -tibmdxa-fixed-medium-r-normal--16-*-72-72-m-160-muletibetan-0
instead of the gnu-unicode font in your environment.

---
Kenichi Handa
handa <at> m17n.org


[Message part 3 (message/rfc822, inline)]
From: Kenichi Handa <handa <at> m17n.org>
To: 2761-done <at> debbugs.gnu.org
Subject: Re: bug#2761: Acknowledgement (Tibetan font selection broken)
Date: Tue, 24 Mar 2009 10:44:48 +0900
Opened by mistake.

---
Kenichi Handa
handa <at> m17n.org


This bug report was last modified 15 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.