diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfobj.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfobj.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfobj.c b/Build/source/texk/dvipdfm-x/pdfobj.c index 3dadf0a140d..2076a83f8ed 100644 --- a/Build/source/texk/dvipdfm-x/pdfobj.c +++ b/Build/source/texk/dvipdfm-x/pdfobj.c @@ -455,6 +455,14 @@ dump_xref_stream (void) pdf_release_obj(xref_stream); } +#if defined(LIBDPX) +long +pdf_output_stats (void) +{ + return pdf_output_file_position; +} +#endif /* LIBDPX */ + void pdf_out_flush (void) { @@ -496,14 +504,18 @@ pdf_out_flush (void) pdf_out(pdf_output_file, format_buffer, length); pdf_out(pdf_output_file, "%%EOF\n", 6); +#if !defined(LIBDPX) MESG("\n"); +#endif /* !LIBDPX */ if (verbose) { if (compression_level > 0) { MESG("Compression saved %ld bytes%s\n", compression_saved, pdf_version < 5 ? ". Try \"-V 5\" for better compression" : ""); } } +#if !defined(LIBDPX) MESG("%ld bytes written", pdf_output_file_position); +#endif /* !LIBDPX */ MFCLOSE(pdf_output_file); } |