r21253 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 29 20:38:57 UTC 2016


Author: jghali
Date: Fri Apr 29 20:38:57 2016
New Revision: 21253

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21253
Log:
#13998 related: try harder to prevent embedding of OTF font with PS outline

Modified:
    trunk/Scribus/scribus/ui/tabpdfoptions.cpp

Modified: trunk/Scribus/scribus/ui/tabpdfoptions.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21253&path=/trunk/Scribus/scribus/ui/tabpdfoptions.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/tabpdfoptions.cpp	(original)
+++ trunk/Scribus/scribus/ui/tabpdfoptions.cpp	Fri Apr 29 20:38:57 2016
@@ -482,7 +482,8 @@
 		for (int fe = 0; fe < m_docFonts.count(); ++ fe)
 		{
 			QString fontName = m_docFonts.at(fe);
-			if (Opts.EmbedList.contains(fontName))
+			const ScFace fontFace = AllFonts[fontName];
+			if (Opts.EmbedList.contains(fontName) && (fontFace.type() != ScFace::OTF))
 				addFontItem(fontName, EmbedList);
 			else
 			{




More information about the scribus-commit mailing list