From dd8676b2779a5c2130d6265a4e966515ff0509f6 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Thu, 3 Feb 2022 14:32:50 +0000 Subject: [PATCH] * src/winfonts/winfnt.c (fnt_face_get_dll_font): Trace font resources. --- src/winfonts/winfnt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c index 6005e4c5c..361990da3 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;