projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6512177
)
(enum GlyphInfoMask): Shift upper masks 1-bit left.
author
handa
<handa>
Fri, 23 Apr 2010 03:55:22 +0000
(
03:55
+0000)
committer
handa
<handa>
Fri, 23 Apr 2010 03:55:22 +0000
(
03:55
+0000)
(decode_packed_otf_tag): If a glyph has combining information,
don't touch it.
(run_otf):
src/m17n-flt.c
patch
|
blob
|
history
diff --git
a/src/m17n-flt.c
b/src/m17n-flt.c
index
e9ac45f
..
65970d4
100644
(file)
--- a/
src/m17n-flt.c
+++ b/
src/m17n-flt.c
@@
-257,9
+257,9
@@
enum GlyphInfoMask
{
CategoryCodeMask = 0x7F,
CombiningCodeMask = 0xFFFFFF,
- CombinedMask = 1 << 27,
- LeftPaddingMask = 1 << 28,
- RightPaddingMask = 1 << 29
+ CombinedMask = 1 << 28,
+ LeftPaddingMask = 1 << 29,
+ RightPaddingMask = 1 << 30
};
#define SET_GLYPH_INFO(g, mask, ctx, info) \
@@
-1875,6
+1875,8
@@
decode_packed_otf_tag (FontLayoutContext *ctx, MFLTGlyphString *gstring,
unsigned int tag = g->internal & 0xFFFFFFF;
char enc;
+ if (GET_COMBINED (g))
+ continue;
if (! category)
{
SET_CATEGORY_CODE (g, 0);