freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] gsoc-anurag-2023 71f5924d2 2/2: Notes for implementation


From: Werner Lemberg
Subject: [freetype2] gsoc-anurag-2023 71f5924d2 2/2: Notes for implementation
Date: Sat, 12 Aug 2023 14:13:45 -0400 (EDT)

branch: gsoc-anurag-2023
commit 71f5924d257ca9a4407df1284c53df5f1abb3e0a
Author: Anurag Thakur <anurag105csec21@bpitindia.edu.in>
Commit: Anurag Thakur <anurag105csec21@bpitindia.edu.in>

    Notes for implementation
---
 src/base/ftobjs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index ff56638eb..e9566a819 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -2636,6 +2636,7 @@
 
           driver = FT_DRIVER( cur[0] );
 
+          // TODO: Check the args for a "preload" flag and act accordingly
           if ( args->flags & FT_OPEN_PARAMS )
           {
             num_params = args->num_params;
@@ -2726,6 +2727,7 @@
     /* face->driver instead.                                   */
     FT_List_Add( &face->driver->faces_list, node );
 
+    // TODO: The preload logic should be performed here
     /* now allocate a glyph slot object for the face */
     FT_TRACE4(( "FT_Open_Face: Creating glyph slot\n" ));
 



reply via email to

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