diff options
| author | Kenichi Handa | 2008-01-14 01:33:28 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-01-14 01:33:28 +0000 |
| commit | 0a16d56798ff55e7ada300cc2dd0c17a4420f9ae (patch) | |
| tree | 792635357c5a2d25434ce29a49d0cfab64ebd2c2 | |
| parent | 432cfa542ebdc072be3fe798631bba3ab9647e27 (diff) | |
| download | emacs-0a16d56798ff55e7ada300cc2dd0c17a4420f9ae.tar.gz emacs-0a16d56798ff55e7ada300cc2dd0c17a4420f9ae.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/ChangeLog.unicode | 4 | ||||
| -rw-r--r-- | src/ChangeLog.unicode | 15 | ||||
| -rw-r--r-- | src/font.c | 7 |
3 files changed, 24 insertions, 2 deletions
diff --git a/lisp/ChangeLog.unicode b/lisp/ChangeLog.unicode index 5bc4ad99299..be1caddfd20 100644 --- a/lisp/ChangeLog.unicode +++ b/lisp/ChangeLog.unicode | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-01-11 Kenichi Handa <handa@ni.aist.go.jp> | ||
| 2 | |||
| 3 | * descr-text.el (describe-char-display): Fix previous change. | ||
| 4 | |||
| 1 | 2008-01-09 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | 2008-01-09 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 2 | 6 | ||
| 3 | * ps-print.el: Some face attributes (like :strike-through) was not | 7 | * ps-print.el: Some face attributes (like :strike-through) was not |
diff --git a/src/ChangeLog.unicode b/src/ChangeLog.unicode index a9b7bc98316..bbf9ad96f27 100644 --- a/src/ChangeLog.unicode +++ b/src/ChangeLog.unicode | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2008-01-14 Kenichi Handa <handa@ni.aist.go.jp> | ||
| 2 | |||
| 3 | * font.c (font_find_for_lface): Fix the handling of the return | ||
| 4 | value of font_has_char. | ||
| 5 | (Ffont_shape_text): Fix previous change. | ||
| 6 | |||
| 7 | * fontset.c (FONTSET_REF_AND_RANGE): Delete it. | ||
| 8 | (fontset_ref_and_range): Delete it. | ||
| 9 | (fontset_find_font): Call char_table_ref_and_range instead of | ||
| 10 | FONTSET_REF_AND_RANGE. | ||
| 11 | (make_fontset): Don't setup font groups of Latin here. | ||
| 12 | (Fset_fontset_font): Don't overwrite the setting of FONTSET_ASCII. | ||
| 13 | (new_fontset_from_font): Make the specified font the default for | ||
| 14 | all Latin characters. | ||
| 15 | |||
| 1 | 2008-01-10 Kenichi Handa <handa@ni.aist.go.jp> | 16 | 2008-01-10 Kenichi Handa <handa@ni.aist.go.jp> |
| 2 | 17 | ||
| 3 | * xfaces.c (Finternal_set_lisp_face_attribute): Check if the frame | 18 | * xfaces.c (Finternal_set_lisp_face_attribute): Check if the frame |
diff --git a/src/font.c b/src/font.c index 349862b6c2b..f9097d1f064 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -2699,7 +2699,7 @@ font_find_for_lface (f, lface, spec, c) | |||
| 2699 | 2699 | ||
| 2700 | if (result > 0) | 2700 | if (result > 0) |
| 2701 | return AREF (entities, i); | 2701 | return AREF (entities, i); |
| 2702 | if (result <= 0) | 2702 | if (result == 0) |
| 2703 | continue; | 2703 | continue; |
| 2704 | font_object = font_open_for_lface (f, AREF (entities, i), lface, spec); | 2704 | font_object = font_open_for_lface (f, AREF (entities, i), lface, spec); |
| 2705 | if (NILP (font_object)) | 2705 | if (NILP (font_object)) |
| @@ -3577,9 +3577,12 @@ FONT-OBJECT. */) | |||
| 3577 | for (i = 0; i < len; i++) | 3577 | for (i = 0; i < len; i++) |
| 3578 | { | 3578 | { |
| 3579 | Lisp_Object g = LGSTRING_GLYPH (gstring, i); | 3579 | Lisp_Object g = LGSTRING_GLYPH (gstring, i); |
| 3580 | unsigned code = LGLYPH_CODE (g); | 3580 | unsigned code; |
| 3581 | struct font_metrics metrics; | 3581 | struct font_metrics metrics; |
| 3582 | 3582 | ||
| 3583 | if (NILP (g)) | ||
| 3584 | break; | ||
| 3585 | code = LGLYPH_CODE (g); | ||
| 3583 | if (font->driver->text_extents (font, &code, 1, &metrics) == 0) | 3586 | if (font->driver->text_extents (font, &code, 1, &metrics) == 0) |
| 3584 | { | 3587 | { |
| 3585 | Lisp_Object gstr = Ffont_make_gstring (font_object, | 3588 | Lisp_Object gstr = Ffont_make_gstring (font_object, |