mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[hmtx] Remove TODO items
This commit is contained in:
parent
adf0bd6dcd
commit
626def03f8
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue