[subset] limit priority bumps to 16.

pull/2857/head
Garret Rieger 4 years ago
parent 0104409959
commit cf79fc342d
  1. 2
      src/hb-repacker.hh

@ -83,7 +83,7 @@ struct graph_t
{
if (!priority) return 0;
int64_t table_size = obj.tail - obj.head;
return -(table_size - table_size / (1 << priority));
return -(table_size - table_size / (1 << hb_min(priority, 16u)));
}
};

Loading…
Cancel
Save