summaryrefslogtreecommitdiff
path: root/src/book.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/book.c')
-rw-r--r--src/book.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/book.c b/src/book.c
index 154b6d4..6b1b7b3 100644
--- a/src/book.c
+++ b/src/book.c
@@ -859,8 +859,8 @@ static void book_save_pdf (Book* self, GFile* file, GError** error) {
}
_tmp1_ = pdf_writer_new (stream);
writer = _tmp1_;
- pdf_writer_write_string (writer, "%%PDF-1.3\n");
- pdf_writer_write_string (writer, "%%\xe2\xe3\xcf\xd3\n");
+ pdf_writer_write_string (writer, "%PDF-1.3\n");
+ pdf_writer_write_string (writer, "%\xe2\xe3\xcf\xd3\n");
_tmp2_ = pdf_writer_start_object (writer);
catalog_number = _tmp2_;
_tmp3_ = g_strdup_printf ("%u 0 obj\n", catalog_number);
@@ -1501,7 +1501,7 @@ static void book_save_pdf (Book* self, GFile* file, GError** error) {
{
gchar* _tmp108_ = NULL;
gchar* _tmp109_;
- _tmp108_ = g_strdup_printf ("%010zu 0000 n\n", (gsize) offset);
+ _tmp108_ = g_strdup_printf ("%010zu 00000 n \n", (gsize) offset);
_tmp109_ = _tmp108_;
pdf_writer_write_string (writer, _tmp109_);
_g_free0 (_tmp109_);
@@ -1529,7 +1529,7 @@ static void book_save_pdf (Book* self, GFile* file, GError** error) {
_tmp118_ = _tmp117_;
pdf_writer_write_string (writer, _tmp118_);
_g_free0 (_tmp118_);
- pdf_writer_write_string (writer, "%%%%EOF\n");
+ pdf_writer_write_string (writer, "%%EOF\n");
_pdf_writer_unref0 (writer);
_g_object_unref0 (stream);
}