struct glyph *g = realglyph(&glyphs[i]);
if (g->flags & (MOS6|MOS4)) continue;
int fp = glyph_footprint(g->data);
- if ((fp & (0xff << (XSIZE-dx-1))) == 0 &&
- (fp & (0xff << (XSIZE-dx-2))) != 0 &&
- (fp & ((1 << (dh - dx)) - 1)) == 0 &&
- (fp & ((1 << (dh - dx + 1)) - 1)) != 0 ||
- fp == 0 && dx == 0 && dh == 3)
+ if (((fp & (0xff << (XSIZE-dx-1))) == 0 &&
+ (fp & (0xff << (XSIZE-dx-2))) != 0 &&
+ (fp & ((1 << (dh - dx)) - 1)) == 0 &&
+ (fp & ((1 << (dh - dx + 1)) - 1)) != 0) ||
+ (fp == 0 && dx == 0 && dh == 3))
TTXS("Glyph", glyphs[i].name);
}
printf(" </Coverage>\n");
printf("%c", "X0100"[vhints[i]]);
nhints++;
}
- printf("0000000" + (nhints - 1) % 8);
+ printf("%s", &"0000000"[(nhints - 1) % 8]);
}
}