freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] GSoC-2019-moazin 2cef196 16/47: Remove the TODO since I have


From: Moazin Khatti
Subject: [freetype2] GSoC-2019-moazin 2cef196 16/47: Remove the TODO since I have implemented binary search.
Date: Sun, 25 Aug 2019 16:18:11 -0400 (EDT)

branch: GSoC-2019-moazin
commit 2cef19641a7001ccd884c21e569a2deb2d2c2263
Author: Moazin Khatti <address@hidden>
Commit: Moazin Khatti <address@hidden>

    Remove the TODO since I have implemented binary search.
---
 src/sfnt/ttsvg.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/sfnt/ttsvg.c b/src/sfnt/ttsvg.c
index d0411d9..4b8ef6a 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]