freetype
[Top][All Lists]
Advanced

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

[Freetype] patch and/or suggested improvement.


From: Hin-Tak Leung
Subject: [Freetype] patch and/or suggested improvement.
Date: Tue, 5 Aug 2003 11:04:44 +0100 (BST)

I was looking for a utility for dumping truetype font
versions and properties and found those bundled with
my platform (RH 9) a bit defficient, until as a last
resort before I roll my own, checked out the latest
ftdump in freetype1-unstable. I only would like
one improvement, quite trivial: 
===========
--- ftdump.c~   2003-08-05 10:56:39.000000000 +0100
+++ ftdump.c    2003-08-05 10:36:10.000000000 +0100
@@ -1102,6 +1102,8 @@
     TT_Get_Face_Properties( face, &properties );
     num_glyphs = properties.num_Glyphs;
  
+    printf("Total number of glyphs: %d\n",
num_glyphs);
+
     /* Now do various dumps */
  
     if ( flag_names )
===========
Thanks for the work.

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/



reply via email to

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