[hmtx] Remove TODO items
This commit is contained in:
parent
adf0bd6dcd
commit
626def03f8
|
@ -291,8 +291,6 @@ struct hmtxvmtx
|
|||
/* num_bearings <= glyph < num_glyphs;
|
||||
* num_bearings <= num_advances */
|
||||
|
||||
/* TODO Optimize */
|
||||
|
||||
if (num_bearings == num_advances)
|
||||
return get_advance_without_var_unscaled (num_bearings - 1);
|
||||
|
||||
|
@ -315,7 +313,7 @@ struct hmtxvmtx
|
|||
if (var_table.get_length ())
|
||||
return advance + roundf (var_table->get_advance_delta_unscaled (glyph,
|
||||
font->coords, font->num_coords,
|
||||
store_cache)); // TODO Optimize?!
|
||||
store_cache));
|
||||
|
||||
return _glyf_get_advance_with_var_unscaled (font, glyph, T::tableTag == HB_OT_TAG_vmtx);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue