[hmtx] Remove TODO items

This commit is contained in:
Behdad Esfahbod 2023-01-10 17:12:50 -07:00
parent adf0bd6dcd
commit 626def03f8
1 changed files with 1 additions and 3 deletions

View File

@ -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