r18432 by jghali - fix copy/paste issue between Acrobat X and text editors with PDF exported as PDF/X-4

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 25 11:07:07 UTC 2013


Author: jghali
Date: Sun Aug 25 11:07:07 2013
New Revision: 18432

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18432
Log:
fix copy/paste issue between Acrobat X and text editors with PDF exported as PDF/X-4

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18432&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Sun Aug 25 11:07:07 2013
@@ -1578,7 +1578,7 @@
 				{
 					PutDoc(QString::number(*git)+" ["+QString::number(static_cast<int>(face.glyphWidth(*git)* 1000))+"] " );
 					QString tmp, tmp2;
-					tmp.sprintf("%02X", *git);
+					tmp.sprintf("%04X", *git);
 					tmp2.sprintf("%04X", gl.value(*git).first.unicode());
 					toUnicodeMap += QString("<%1> <%2>\n").arg(tmp).arg((tmp2));
 					toUnicodeMapCounter++;




More information about the scribus-commit mailing list