[repacker] add HB_FALLTRHOUGH.
This commit is contained in:
parent
6a5e2cb2f8
commit
9578c44ea2
|
@ -265,8 +265,8 @@ struct PairPos : public OT::Layout::GPOS_impl::PairPos
|
||||||
case 2:
|
case 2:
|
||||||
return ((PairPosFormat2*)(&u.format2))->split_subtables (c, this_index);
|
return ((PairPosFormat2*)(&u.format2))->split_subtables (c, this_index);
|
||||||
#ifndef HB_NO_BORING_EXPANSION
|
#ifndef HB_NO_BORING_EXPANSION
|
||||||
case 3:
|
case 3: HB_FALLTHROUGH;
|
||||||
case 4:
|
case 4: HB_FALLTHROUGH;
|
||||||
// Don't split 24bit PairPos's.
|
// Don't split 24bit PairPos's.
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
|
@ -284,8 +284,10 @@ struct PairPos : public OT::Layout::GPOS_impl::PairPos
|
||||||
return ((PairPosFormat1*)(&u.format1))->sanitize (vertex);
|
return ((PairPosFormat1*)(&u.format1))->sanitize (vertex);
|
||||||
case 2:
|
case 2:
|
||||||
return ((PairPosFormat2*)(&u.format2))->sanitize (vertex);
|
return ((PairPosFormat2*)(&u.format2))->sanitize (vertex);
|
||||||
case 3:
|
#ifndef HB_NO_BORING_EXPANSION
|
||||||
case 4:
|
case 3: HB_FALLTHROUGH;
|
||||||
|
case 4: HB_FALLTHROUGH;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
// We don't handle format 3 and 4 here.
|
// We don't handle format 3 and 4 here.
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue