Commit dd8676b2779a5c2130d6265a4e966515ff0509f6

Alexei Podtelezhnikov 2022-02-03T14:32:50

* src/winfonts/winfnt.c (fnt_face_get_dll_font): Trace font resources.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c
index 6005e4c..361990d 100644
--- a/src/winfonts/winfnt.c
+++ b/src/winfonts/winfnt.c
@@ -352,6 +352,10 @@
 
           count = FT_GET_USHORT_LE();
 
+          FT_TRACE2(( type_id == 0x8007U ? "RT_FONTDIR count %hu\n" :
+                      type_id == 0x8008U ? "RT_FONT count %hu\n" : "",
+                                           count ));
+
           if ( type_id == 0x8008U )
           {
             font_count  = count;