freetype-commit
[Top][All Lists]
Advanced

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

[freetype2-demos] master dac91ef 5/7: [ftdump] Require `-c' or `-C' to d


From: Werner Lemberg
Subject: [freetype2-demos] master dac91ef 5/7: [ftdump] Require `-c' or `-C' to dump the CID coverage.
Date: Fri, 5 May 2023 12:47:58 -0400 (EDT)

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

    [ftdump] Require `-c' or `-C' to dump the CID coverage.
    
    * src/ftdump.c (Print_ROS_From_Face): Invoke
    Print_CIDs() if `coverage' is positive by
    the options `-c' or `-C'.  Suggested by
    Alexei Podtelezhnikov.
---
 src/ftdump.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ftdump.c b/src/ftdump.c
index 92fbc85..716caa6 100644
--- a/src/ftdump.c
+++ b/src/ftdump.c
@@ -612,7 +612,8 @@
 
     printf( "%s%d\n", Name_Field( "Supplement" ), s );
 
-    Print_CIDs( face );
+    if ( coverage > 0 )
+      Print_CIDs( face );
   }
 
 



reply via email to

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