mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-07-16 10:08:47 +08:00
Replace Trace by Debug
This commit is contained in:
parent
4e63e2c415
commit
096ebdbf70
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
if (sum != table.CheckSum)
|
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))
|
if (typeof(T) == typeof(CMapTable))
|
||||||
|
@ -228,7 +228,7 @@
|
|||||||
// Just take the last, should only ever be 1
|
// Just take the last, should only ever be 1
|
||||||
if (readTokens.Count > 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
|
var trimmedDuplicatedEndTokens = readTokens
|
||||||
.Where(x => x is not OperatorToken op || (op.Data != ">" && op.Data != "]")).ToList();
|
.Where(x => x is not OperatorToken op || (op.Data != ">" && op.Data != "]")).ToList();
|
||||||
|
Loading…
Reference in New Issue
Block a user