ref: 05012ad9c9a622a01aa65e16e7c6756ba3c7d50a
parent: ac09390afcfaf2c63b75ffee5c0759e29359f9ac
author: Werner Lemberg <[email protected]>
date: Wed Nov 17 06:47:53 EST 2010
[sfnt] While tracing, output table checksums also. * src/sfnt/ttload.c (tt_face_load_font_dir): Do it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-17 Werner Lemberg <[email protected]>
+
+ [sfnt] While tracing, output table checksums also.
+
+ * src/sfnt/ttload.c (tt_face_load_font_dir): Do it.
+
2010-11-04 suzuki toshiya <[email protected]>
[UVS] Fix find_variant_selector_charmap(), Savannah bug #31545.
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -384,6 +384,10 @@
entry = face->dir_tables;
+ FT_TRACE2(( "\n"
+ " tag offset length checksum\n"
+ " ----------------------------------\n" ));
+
for ( nn = 0; nn < sfnt.num_tables; nn++ )
{
entry->Tag = FT_GET_TAG4();
@@ -396,13 +400,14 @@
continue;
else
{
- FT_TRACE2(( " %c%c%c%c - %08lx - %08lx\n",
+ FT_TRACE2(( " %c%c%c%c %08lx %08lx %08lx\n",
(FT_Char)( entry->Tag >> 24 ),
(FT_Char)( entry->Tag >> 16 ),
(FT_Char)( entry->Tag >> 8 ),
(FT_Char)( entry->Tag ),
entry->Offset,
- entry->Length ));
+ entry->Length,
+ entry->CheckSum ));
entry++;
}
}