all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: emacs-pretest-bug@gnu.org
Subject: bug#2761: Tibetan font selection broken
Date: Tue, 24 Mar 2009 10:11:43 +0900	[thread overview]
Message-ID: <E1LlvB9-0007NF-UA@etlken> (raw)
In-Reply-To: <m23ad97bag.fsf@igel.home> (message from Andreas Schwab on Thu, 19 Mar 2009 17:00:23 +0100)

In article <m23ad97bag.fsf@igel.home>, Andreas Schwab <schwab@linux-m68k.org> writes:

> This change:

> 2009-03-05  Kenichi Handa  <handa@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@m17n.org






  parent reply	other threads:[~2009-03-24  1:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1LlvgI-0007To-JM@etlken>
2009-03-19 16:00 ` bug#2722: Tibetan font selection broken Andreas Schwab
2009-03-21 23:01   ` Andreas Schwab
2009-03-22  0:49     ` Jason Rumney
2009-03-22 10:35       ` Andreas Schwab
2009-03-24  1:11   ` Kenichi Handa [this message]
2009-03-24  1:50     ` bug#2761: marked as done (Tibetan font selection broken) Emacs bug Tracking System
2009-03-24  1:50   ` bug#2722: " Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LlvB9-0007NF-UA@etlken \
    --to=handa@m17n.org \
    --cc=2761@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.