mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-08 08:43:52 -08:00
Fix negation in elements of OTF feature list
* src/ftfont.c (ftfont_get_open_type_spec): * src/macfont.m (macfont_get_open_type_spec): Take bitwise or instead of and.
This commit is contained in:
parent
e2d8c1e8bc
commit
36a8024e2b
2 changed files with 2 additions and 2 deletions
|
|
@ -613,7 +613,7 @@ ftfont_get_open_type_spec (Lisp_Object otf_spec)
|
|||
unsigned int tag;
|
||||
|
||||
OTF_SYM_TAG (XCAR (val), tag);
|
||||
spec->features[i][j++] = negative ? tag & 0x80000000 : tag;
|
||||
spec->features[i][j++] = negative ? tag | 0x80000000 : tag;
|
||||
}
|
||||
}
|
||||
spec->nfeatures[i] = j;
|
||||
|
|
|
|||
|
|
@ -1824,7 +1824,7 @@ macfont_get_open_type_spec (Lisp_Object otf_spec)
|
|||
unsigned int tag;
|
||||
|
||||
OTF_SYM_TAG (XCAR (val), tag);
|
||||
spec->features[i][j++] = negative ? tag & 0x80000000 : tag;
|
||||
spec->features[i][j++] = negative ? tag | 0x80000000 : tag;
|
||||
}
|
||||
}
|
||||
spec->nfeatures[i] = j;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue