mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-07-15 21:10:41 +08:00
Replace Trace by Debug
This commit is contained in:
parent
4e63e2c415
commit
096ebdbf70
@ -14,7 +14,7 @@
|
||||
|
||||
public static T Parse<T>(TrueTypeHeaderTable table, TrueTypeDataBytes data, TableRegister.Builder register) where T : ITrueTypeTable
|
||||
{
|
||||
//checksum https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6.html
|
||||
// checksum https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6.html
|
||||
uint sum = 0;
|
||||
var nLongs = (table.Length + 3) / 4;
|
||||
data.Seek(table.Offset);
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
if (sum != table.CheckSum)
|
||||
{
|
||||
Trace.TraceWarning("Table with invalid checksum found in TrueType font file.");
|
||||
Debug.WriteLine("Table with invalid checksum found in TrueType font file.");
|
||||
}
|
||||
|
||||
if (typeof(T) == typeof(CMapTable))
|
||||
|
@ -228,7 +228,7 @@
|
||||
// Just take the last, should only ever be 1
|
||||
if (readTokens.Count > 1)
|
||||
{
|
||||
Trace.WriteLine("Found more than 1 token in an object.");
|
||||
Debug.WriteLine("Found more than 1 token in an object.");
|
||||
|
||||
var trimmedDuplicatedEndTokens = readTokens
|
||||
.Where(x => x is not OperatorToken op || (op.Data != ">" && op.Data != "]")).ToList();
|
||||
|
Loading…
Reference in New Issue
Block a user