GNU bug report logs - #2722
Tibetan font selection broken

Previous Next

Package: emacs;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Thu, 19 Mar 2009 16:05:07 UTC

Severity: normal

Merged with 2761

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2722 in the body.
You can then email your comments to 2722 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2722; Package emacs. (Thu, 19 Mar 2009 16:05:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Schwab <schwab <at> linux-m68k.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 19 Mar 2009 16:05:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: emacs-pretest-bug <at> gnu.org
Cc: Kenichi Handa  <handa <at> m17n.org>
Subject: Tibetan font selection broken
Date: Thu, 19 Mar 2009 17:00:23 +0100
[Message part 1 (text/plain, inline)]
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.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
[hello.png (image/png, attachment)]
[font-log-before (text/plain, attachment)]
[font-log-after (text/plain, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2722; Package emacs. (Sat, 21 Mar 2009 23:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Schwab <schwab <at> linux-m68k.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 21 Mar 2009 23:10:04 GMT) Full text and rfc822 format available.

Message #10 received at 2722 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: 2722 <at> debbugs.gnu.org
Cc: Kenichi Handa  <handa <at> m17n.org>
Subject: Re: bug#2722: Tibetan font selection broken
Date: Sun, 22 Mar 2009 00:01:52 +0100
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.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2722; Package emacs. (Sun, 22 Mar 2009 00:55:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Rumney <jasonr <at> f2s.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Mar 2009 00:55:04 GMT) Full text and rfc822 format available.

Message #15 received at 2722 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> f2s.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>, 2722 <at> debbugs.gnu.org
Subject: Re: bug#2722: Tibetan font selection broken
Date: Sun, 22 Mar 2009 08:49:29 +0800
Andreas Schwab wrote:
> 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.
>   

But the gnu-unicode font should be encoded as Unicode, not muletibetan-0.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2722; Package emacs. (Sun, 22 Mar 2009 10:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Schwab <schwab <at> linux-m68k.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Mar 2009 10:45:03 GMT) Full text and rfc822 format available.

Message #20 received at 2722 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Jason Rumney <jasonr <at> f2s.com>
Cc: 2722 <at> debbugs.gnu.org
Subject: Re: bug#2722: Tibetan font selection broken
Date: Sun, 22 Mar 2009 11:35:37 +0100
Jason Rumney <jasonr <at> f2s.com> writes:

> Andreas Schwab wrote:
>> 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.
>>   
>
> But the gnu-unicode font should be encoded as Unicode, not muletibetan-0.

Except that Emacs does not use gnu-unicode any more, but
x:-tibmdxa-fixed-medium-r-normal--16-160-72-72-m-160-muletibetan-0.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Reply sent to Kenichi Handa <handa <at> m17n.org>:
You have taken responsibility. (Tue, 24 Mar 2009 01:50:03 GMT) Full text and rfc822 format available.

Notification sent to Andreas Schwab <schwab <at> linux-m68k.org>:
bug acknowledged by developer. (Tue, 24 Mar 2009 01:50:04 GMT) Full text and rfc822 format available.

Message #25 received at 2722-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: 2722-done <at> debbugs.gnu.org
Subject: Re: bug#2722: Tibetan font selection broken
Date: Tue, 24 Mar 2009 10:43:54 +0900
Fixed by these changes.

	* font.c (find_font_encoding): Return Qnil for unsupported
	encoding (Bug#2722).

	* international/fontset.el (font-encoding-alist): Add an entry for
	muletibetan-0.  (Bug#2722)

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 21 Apr 2009 14:24:13 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 25 Jan 2010 23:10:03 GMT) Full text and rfc822 format available.

Merged 2722 2761. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 25 Jan 2010 23:10:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Feb 2010 12:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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