r20564 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Nov 21 13:53:53 UTC 2015


Author: jghali
Date: Sat Nov 21 13:53:53 2015
New Revision: 20564

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20564
Log:
#13547: Crash on PDF exporting

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20564&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Sat Nov 21 13:53:53 2015
@@ -1669,7 +1669,7 @@
 	//					PutDoc("/TrueType\n");
 	PutDoc("/Name " + formFont.name+ "\n");
 	pageData.FObjects[formFont.name] = fontObjectForm;
-	UsedFontsF.insert(fontName, formFont);
+	UsedFontsF.insert(face.replacementName(), formFont);
 	/*				}
 	 else
 	 {
@@ -9866,7 +9866,7 @@
 			}
 		}
 		PutDoc(">>");
-		writer.endObj(annotationObj);
+		writer.endObj(result);
 		return result;
 	}
 	return 0;




More information about the scribus-commit mailing list