ftfont.c (ftfont_drive_otf): Mask bits of character code to make it fit in a valid range (Bug#11003).
This commit is contained in:
parent
4b05d72231
commit
4827f94e17
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-03-19 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* ftfont.c (ftfont_drive_otf): Mask bits of character code to make
|
||||
it fit in a valid range (Bug#11003).
|
||||
|
||||
2012-03-12 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* eval.c (inhibit_lisp_code): Rename from
|
||||
|
|
|
@ -1856,7 +1856,7 @@ ftfont_drive_otf (MFLTFont *font,
|
|||
setup_otf_gstring (len);
|
||||
for (i = 0; i < len; i++)
|
||||
{
|
||||
otf_gstring.glyphs[i].c = in->glyphs[from + i].c;
|
||||
otf_gstring.glyphs[i].c = in->glyphs[from + i].c & 0x11FFFF;
|
||||
otf_gstring.glyphs[i].glyph_id = in->glyphs[from + i].code;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue