From 6997d10bc0cab13103b660eb968bc49e2a0fb0f7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 10 Jun 2022 07:43:33 -0600 Subject: [PATCH] [arabic] Remove a couple TODO items --- src/hb-ot-shaper-arabic-fallback.hh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hb-ot-shaper-arabic-fallback.hh b/src/hb-ot-shaper-arabic-fallback.hh index 875825c96..491bc8901 100644 --- a/src/hb-ot-shaper-arabic-fallback.hh +++ b/src/hb-ot-shaper-arabic-fallback.hh @@ -168,7 +168,6 @@ arabic_fallback_synthesize_lookup_ligature (const hb_ot_shape_plan_t *plan HB_UN hb_array (component_count_list, num_ligatures), hb_array (component_list, num_ligatures)); c.end_serialize (); - /* TODO sanitize the results? */ return ret && !c.in_error () ? c.copy () : nullptr; } @@ -232,7 +231,6 @@ arabic_fallback_plan_init_win1256 (arabic_fallback_plan_t *fallback_plan HB_UNUS const Manifest &manifest = reinterpret_cast (arabic_win1256_gsub_lookups.manifest); static_assert (sizeof (arabic_win1256_gsub_lookups.manifestData) == ARABIC_FALLBACK_MAX_LOOKUPS * sizeof (ManifestLookup), ""); - /* TODO sanitize the table? */ unsigned j = 0; unsigned int count = manifest.len;