Mercurial > emacs
comparison src/ftfont.c @ 100239:7d98fd5b3867
(ftfont_shape_by_flt): Use "combining" flt if the
second character is a combining character.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 05 Dec 2008 12:24:58 +0000 |
parents | 88dfb64d3e71 |
children | 611f0256259c |
comparison
equal
deleted
inserted
replaced
100238:234b23733f77 | 100239:7d98fd5b3867 |
---|---|
1864 flt_font_ft.flt_font.drive_otf = ftfont_drive_otf; | 1864 flt_font_ft.flt_font.drive_otf = ftfont_drive_otf; |
1865 flt_font_ft.flt_font.internal = NULL; | 1865 flt_font_ft.flt_font.internal = NULL; |
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. */ |
1873 flt = mflt_get (msymbol ("combining")); | 1874 flt = mflt_get (msymbol ("combining")); |
1874 for (i = 0; i < 3; i++) | 1875 for (i = 0; i < 3; i++) |