shithub: freetype+ttf2subf

Download patch

ref: cdc009c24afac88846ed24e21c84e33792384665
parent: f9f6adb625c48ef15b5d61a3ac1709a068ea95a3
author: Werner Lemberg <wl@gnu.org>
date: Sat Aug 22 09:30:11 EDT 2020

* src/truetype/ttgload.c (TT_Get_VMetrics): Add tracing message.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-08-22  Werner Lemberg  <wl@gnu.org>
+
+	* src/truetype/ttgload.c (TT_Get_VMetrics): Add tracing message.
+
 2020-08-05  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	[truetype] Retain OVERLAP_SIMPLE and OVERLAP_COMPOUND.
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -137,6 +137,11 @@
                                 face->horizontal.Descender );
     }
 
+#ifdef FT_DEBUG_LEVEL_TRACE
+    if ( !face->vertical_info )
+      FT_TRACE5(( "  [vertical metrics missing, computing values]\n" ));
+#endif
+
     FT_TRACE5(( "  advance height (font units): %d\n", *ah ));
     FT_TRACE5(( "  top side bearing (font units): %d\n", *tsb ));
   }