[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fontset.c,v
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/fontset.c,v |
Date: |
Sun, 25 May 2008 11:02:12 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kenichi Handa <handa> 08/05/25 11:02:11
Index: fontset.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fontset.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -b -r1.126 -r1.127
--- fontset.c 23 May 2008 10:27:56 -0000 1.126
+++ fontset.c 25 May 2008 11:02:11 -0000 1.127
@@ -908,6 +908,17 @@
id = XINT (CHARSET_SYMBOL_ID (charset));
}
}
+ if (id < 0)
+ {
+ struct font *font = face->ascii_face->font;
+
+ if (font && font->driver->encode_char (font, c) != FONT_INVALID_CODE)
+ return face->ascii_face->id;
+ font = face->font;
+ if (font && font->driver->encode_char (font, c) != FONT_INVALID_CODE)
+ return face->id;
+ }
+
rfont_def = fontset_font (fontset, c, face, id);
if (VECTORP (rfont_def))
{
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Kenichi Handa, 2008/05/13
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Glenn Morris, 2008/05/14
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Kenichi Handa, 2008/05/14
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Kenichi Handa, 2008/05/20
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Juanma Barranquero, 2008/05/20
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Kenichi Handa, 2008/05/21
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Jason Rumney, 2008/05/22
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Jason Rumney, 2008/05/22
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Kenichi Handa, 2008/05/22
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Juanma Barranquero, 2008/05/23
- [Emacs-diffs] Changes to emacs/src/fontset.c,v,
Kenichi Handa <=
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Kenichi Handa, 2008/05/28
- [Emacs-diffs] Changes to emacs/src/fontset.c,v, Kenichi Handa, 2008/05/29