diff options
| author | Kenichi Handa | 2008-12-05 12:26:58 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-12-05 12:26:58 +0000 |
| commit | 7bf1bb2124e8991d62438e8ac06d34a628fa78fc (patch) | |
| tree | c87e2c5cb4acdaa7c6db85fa6d032589cab7f483 /src | |
| parent | 2fdc7d00310ccd6fc443ff14e60f6cca434fc657 (diff) | |
| download | emacs-7bf1bb2124e8991d62438e8ac06d34a628fa78fc.tar.gz emacs-7bf1bb2124e8991d62438e8ac06d34a628fa78fc.zip | |
(ftfont_shape_by_flt): Use "combining" flt if the
second character is a combining character.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/ftfont.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6a40e75226c..c0797931289 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-12-05 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * ftfont.c (ftfont_shape_by_flt): Use "combining" flt if the | ||
| 4 | second character is a combining character. | ||
| 5 | |||
| 1 | 2008-12-05 Eli Zaretskii <eliz@gnu.org> | 6 | 2008-12-05 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * process.c (procfs_system_process_attributes): Don't use cmd, | 8 | * process.c (procfs_system_process_attributes): Don't use cmd, |
| @@ -23,6 +28,7 @@ | |||
| 23 | 28 | ||
| 24 | * coding.c (decode_coding_charset): Check type of an element of | 29 | * coding.c (decode_coding_charset): Check type of an element of |
| 25 | vector VALIDS. | 30 | vector VALIDS. |
| 31 | (encode_coding_emacs_mule): Be sure to set `code'. | ||
| 26 | 32 | ||
| 27 | * fontset.c (face_for_char): Handle invalid charset property | 33 | * fontset.c (face_for_char): Handle invalid charset property |
| 28 | correctly. | 34 | correctly. |
diff --git a/src/ftfont.c b/src/ftfont.c index 23f6a3672d5..7d746ec2908 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -1866,7 +1866,8 @@ ftfont_shape_by_flt (lgstring, font, ft_face, otf) | |||
| 1866 | flt_font_ft.font = font; | 1866 | flt_font_ft.font = font; |
| 1867 | flt_font_ft.ft_face = ft_face; | 1867 | flt_font_ft.ft_face = ft_face; |
| 1868 | flt_font_ft.otf = otf; | 1868 | flt_font_ft.otf = otf; |
| 1869 | if (ASCII_CHAR_P (gstring.glyphs[0].c)) | 1869 | if (len > 1 |
| 1870 | && gstring.glyphs[1].c >= 0x300 && gstring.glyphs[1].c <= 0x36F) | ||
| 1870 | /* A little bit ad hoc. Perhaps, shaper must get script and | 1871 | /* A little bit ad hoc. Perhaps, shaper must get script and |
| 1871 | language information, and select a proper flt for them | 1872 | language information, and select a proper flt for them |
| 1872 | here. */ | 1873 | here. */ |