[hmtx] Fix types
This commit is contained in:
parent
4e7c803969
commit
41352c08b8
|
@ -73,7 +73,7 @@ struct hmtxvmtx
|
||||||
return_trace (true);
|
return_trace (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
const hb_hashmap_t<unsigned, hb_pair_t<unsigned, int>>* get_mtx_map (const hb_subset_plan_t *plan) const
|
const hb_hashmap_t<hb_codepoint_t, hb_pair_t<unsigned, int>>* get_mtx_map (const hb_subset_plan_t *plan) const
|
||||||
{ return T::is_horizontal ? &plan->hmtx_map : &plan->vmtx_map; }
|
{ return T::is_horizontal ? &plan->hmtx_map : &plan->vmtx_map; }
|
||||||
|
|
||||||
bool subset_update_header (hb_subset_plan_t *plan,
|
bool subset_update_header (hb_subset_plan_t *plan,
|
||||||
|
@ -132,7 +132,7 @@ struct hmtxvmtx
|
||||||
|
|
||||||
accelerator_t _mtx (c->plan->source);
|
accelerator_t _mtx (c->plan->source);
|
||||||
unsigned num_long_metrics;
|
unsigned num_long_metrics;
|
||||||
const hb_hashmap_t<unsigned, hb_pair_t<unsigned, int>> *mtx_map = get_mtx_map (c->plan);
|
const hb_hashmap_t<hb_codepoint_t, hb_pair_t<unsigned, int>> *mtx_map = get_mtx_map (c->plan);
|
||||||
{
|
{
|
||||||
/* Determine num_long_metrics to encode. */
|
/* Determine num_long_metrics to encode. */
|
||||||
auto& plan = c->plan;
|
auto& plan = c->plan;
|
||||||
|
|
Loading…
Reference in New Issue