freetype-commit
[Top][All Lists]
Advanced

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

[freetype2-demos] master 98c55cb 2/7: [ftdump] Add a comment why FT_IS_C


From: Werner Lemberg
Subject: [freetype2-demos] master 98c55cb 2/7: [ftdump] Add a comment why FT_IS_CID_KEYED() is not used.
Date: Fri, 5 May 2023 12:47:58 -0400 (EDT)

branch: master
commit 98c55cbd19b6c120a14b5d1fbc29be2ab8e85e85
Author: suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Commit: suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>

    [ftdump] Add a comment why FT_IS_CID_KEYED() is not used.
    
    * src/ftdump.c (main): Add a comment why
    FT_IS_CID_KEYED() is not checked before
    calling Print_ROS_From_Face().  Suggested
    by Alexei Podtelezhnikov.
---
 src/ftdump.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/ftdump.c b/src/ftdump.c
index 13e3a83..999dee6 100644
--- a/src/ftdump.c
+++ b/src/ftdump.c
@@ -1484,6 +1484,9 @@
         Print_Charmaps( face );
       }
 
+      /* FT_IS_CID_KEYED() does not catch an OpenType/CFF,
+       * let Print_ROS_From_Face() catch various cases.
+       */
       Print_ROS_From_Face( face );
 
       if ( FT_HAS_MULTIPLE_MASTERS( face ) )



reply via email to

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