[indic-table] Fix compiler warning

pull/27/merge
Behdad Esfahbod 11 years ago
parent 0436e1d505
commit 64442a3f4c
  1. 4
      src/gen-indic-table.py
  2. 4
      src/hb-ot-shape-complex-indic-table.cc

@ -188,10 +188,8 @@ ends.append (last + 1)
offset += ends[-1] - starts[-1]
print
print
print "#define indic_offset_total %d" % offset
print
occupancy = used * 100. / total
print "}; /* Table occupancy: %d%% */" % occupancy
print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)
print
print "INDIC_TABLE_ELEMENT_TYPE"
print "hb_indic_get_categories (hb_codepoint_t u)"

@ -727,9 +727,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 116A8 */ _(C,x), _(C,x), _(C,x), _(Bi,x), _(Vs,x), _(M,T), _(M,L), _(M,R),
/* 116B0 */ _(M,B), _(M,B), _(M,T), _(M,T), _(M,T), _(M,T), _(V,T), _(N,x),
#define indic_offset_total 3816
}; /* Table occupancy: 69% */
}; /* Table items: 3816; occupancy: 69% */
INDIC_TABLE_ELEMENT_TYPE
hb_indic_get_categories (hb_codepoint_t u)

Loading…
Cancel
Save