summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoazin Khatti <moazinkhatri@gmail.com>2019-07-26 20:05:50 +0500
committerMoazin Khatti <moazinkhatri@gmail.com>2019-08-26 01:17:14 +0500
commit2cef19641a7001ccd884c21e569a2deb2d2c2263 (patch)
tree4d3080af11bb5331ca229d36c93fe33181efc20d
parentfaa495befc77fe5ae497681564241fb3570174b8 (diff)
downloadfreetype2-2cef19641a7001ccd884c21e569a2deb2d2c2263.tar.gz
Remove the TODO since I have implemented binary search.
-rw-r--r--src/sfnt/ttsvg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/sfnt/ttsvg.c b/src/sfnt/ttsvg.c
index d0411d9e6..4b8ef6a7f 100644
--- a/src/sfnt/ttsvg.c
+++ b/src/sfnt/ttsvg.c
@@ -175,9 +175,7 @@
FT_Int comp_res;
- /* TODO: (OT-SVG) Convert to efficient search algorithm */
/* search algo */
-
if ( num_entries == 0 )
{
error = FT_THROW( Invalid_Table );
@@ -216,8 +214,6 @@
}
/* search algo end */
- /* must set `found', `doc_offset' and `doc_length'. */
- /* also keep `cur_doc' alive */
if ( found != TRUE )
error = FT_THROW( Invalid_Glyph_Index );
else