diff options
| author | Kenichi Handa | 2006-10-26 12:00:59 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-10-26 12:00:59 +0000 |
| commit | af7e13bde417f7c4bb34ab831670d624cd0e5c44 (patch) | |
| tree | 10bd5021f28d0f3c0e790f1c968d3aaf03215230 /src | |
| parent | 4c12d7386f92f6caf3001577e175d35e3186890d (diff) | |
| download | emacs-af7e13bde417f7c4bb34ab831670d624cd0e5c44.tar.gz emacs-af7e13bde417f7c4bb34ab831670d624cd0e5c44.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog.unicode | 11 | ||||
| -rw-r--r-- | src/xdisp.c | 12 |
2 files changed, 20 insertions, 3 deletions
diff --git a/src/ChangeLog.unicode b/src/ChangeLog.unicode index fcf35e1bdcb..0b9fe23faa8 100644 --- a/src/ChangeLog.unicode +++ b/src/ChangeLog.unicode | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2006-10-26 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * term.c: Include "composite.h". | ||
| 4 | (encode_terminal_code): Output all components of composition. | ||
| 5 | Check the size of encode_terminal_src. | ||
| 6 | (produce_glyphs): For compostion, call produce_composite_glyph. | ||
| 7 | (append_composite_glyph, produce_composite_glyph): New functions. | ||
| 8 | |||
| 9 | * xdisp.c (x_produce_glyphs): In handling composition, if a font | ||
| 10 | is not found, get font_info from the current ascii face. | ||
| 11 | |||
| 1 | 2006-10-23 Kenichi Handa <handa@m17n.org> | 12 | 2006-10-23 Kenichi Handa <handa@m17n.org> |
| 2 | 13 | ||
| 3 | * fileio.c (Finsert_file_contents): On replacing, temporarily bind | 14 | * fileio.c (Finsert_file_contents): On replacing, temporarily bind |
diff --git a/src/xdisp.c b/src/xdisp.c index 87f6c49ad36..45deab74599 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -20941,9 +20941,15 @@ x_produce_glyphs (it) | |||
| 20941 | /* When no suitable font found, use the default font. */ | 20941 | /* When no suitable font found, use the default font. */ |
| 20942 | font_not_found_p = font == NULL; | 20942 | font_not_found_p = font == NULL; |
| 20943 | if (font_not_found_p) | 20943 | if (font_not_found_p) |
| 20944 | font = FACE_FROM_ID (it->f, it->face_id)->font; | 20944 | { |
| 20945 | font_info | 20945 | font = FACE_FROM_ID (it->f, it->face_id)->font; |
| 20946 | = FONT_INFO_FROM_FACE (it->f, FACE_FROM_ID (it->f, face_id)); | 20946 | font_info |
| 20947 | = FONT_INFO_FROM_FACE (it->f, | ||
| 20948 | FACE_FROM_ID (it->f, it->face_id)); | ||
| 20949 | } | ||
| 20950 | else | ||
| 20951 | font_info | ||
| 20952 | = FONT_INFO_FROM_FACE (it->f, FACE_FROM_ID (it->f, face_id)); | ||
| 20947 | boff = font_info->baseline_offset; | 20953 | boff = font_info->baseline_offset; |
| 20948 | if (font_info->vertical_centering) | 20954 | if (font_info->vertical_centering) |
| 20949 | boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; | 20955 | boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; |