Comment debug output
This commit is contained in:
@@ -447,9 +447,9 @@ public class GlyfEncoder {
|
||||
writeLong(newStream, compositeStream.size());
|
||||
writeLong(newStream, bboxBitmap.length + bboxStream.size());
|
||||
writeLong(newStream, codeStream.size());
|
||||
System.out.printf("stream sizes = %d %d %d %d %d %d %d\n",
|
||||
nContourStream.size(), nPointsStream.size(), flagBytesStream.size(), glyfStream.size(),
|
||||
compositeStream.size(), bboxStream.size(), codeStream.size());
|
||||
// System.out.printf("stream sizes = %d %d %d %d %d %d %d\n",
|
||||
// nContourStream.size(), nPointsStream.size(), flagBytesStream.size(), glyfStream.size(),
|
||||
// compositeStream.size(), bboxStream.size(), codeStream.size());
|
||||
nContourStream.writeTo(newStream);
|
||||
nPointsStream.writeTo(newStream);
|
||||
flagBytesStream.writeTo(newStream);
|
||||
|
||||
@@ -97,11 +97,11 @@ public class Woff2Writer {
|
||||
FontHeaderTable head = font.getTable(Tag.head);
|
||||
index += writeWoff2Header(writableFontData, entries, font.sfntVersion(), size,
|
||||
head.fontRevision());
|
||||
System.out.printf("Wrote header, index = %d\n", index);
|
||||
// System.out.printf("Wrote header, index = %d\n", index);
|
||||
index += writeDirectory(writableFontData, index, entries);
|
||||
System.out.printf("Wrote directory, index = %d\n", index);
|
||||
// System.out.printf("Wrote directory, index = %d\n", index);
|
||||
index += writeTables(writableFontData, index, entries);
|
||||
System.out.printf("Wrote tables, index = %d\n", index);
|
||||
// System.out.printf("Wrote tables, index = %d\n", index);
|
||||
return writableFontData;
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@ public class Woff2Writer {
|
||||
flag_byte |= (flags & 3) << 6;
|
||||
}
|
||||
if (writableFontData != null) {
|
||||
System.out.printf("%d: tag = %08x, flag = %02x\n", offset, tag, flag_byte);
|
||||
// System.out.printf("%d: tag = %08x, flag = %02x\n", offset, tag, flag_byte);
|
||||
writableFontData.writeByte(offset, (byte)flag_byte);
|
||||
}
|
||||
offset += 1;
|
||||
|
||||
Reference in New Issue
Block a user