Code

added pdf metainfo author
authortheadib <theadib@users.sourceforge.net>
Sun, 21 May 2006 20:10:28 +0000 (20:10 +0000)
committertheadib <theadib@users.sourceforge.net>
Sun, 21 May 2006 20:10:28 +0000 (20:10 +0000)
src/extension/internal/pdf.cpp

index d9547270eed648f3a8d4f9182d060235f54162cf..ed98c4a2913477e4cc6e42d5391b19121dea9c52 100644 (file)
@@ -304,7 +304,7 @@ PrintPDF::begin(Inkscape::Extension::Print *mod, SPDocument *doc)
     pdf_file = new PdfFile(_stream);\r
     doc_info = pdf_file->begin_document(1.4);\r
     *doc_info << "  /Title(" << doc->name << ")\n";\r
-//    *doc_info << "  /Author(" << "?" << ")\n";\r
+    *doc_info << "  /Author(" << g_get_real_name()  << ")\n";\r
 //    *doc_info << "  /Subject(" << "?" << ")\n";\r
 //    *doc_info << "  /Keywords(" << "?" << ")\n";\r
     *doc_info << "  /Creator(" << "www.inkscape.org" << ")\n";\r