Showing
2 changed files
with
2 additions
and
1 deletions
@@ -59,7 +59,7 @@ void printTextTtf(PdfGraphics canvas, String text, File ttfFont, double top) { | @@ -59,7 +59,7 @@ void printTextTtf(PdfGraphics canvas, String text, File ttfFont, double top) { | ||
59 | 59 | ||
60 | void main() { | 60 | void main() { |
61 | test('Pdf TrueType', () { | 61 | test('Pdf TrueType', () { |
62 | - final PdfDocument pdf = PdfDocument(); | 62 | + final PdfDocument pdf = PdfDocument(compress: false); |
63 | final PdfPage page = | 63 | final PdfPage page = |
64 | PdfPage(pdf, pageFormat: const PdfPageFormat(500, 300)); | 64 | PdfPage(pdf, pageFormat: const PdfPageFormat(500, 300)); |
65 | 65 |
-
Please register or login to post a comment