r20121 by jghali - fix issue when exporting PDF with outlined fonts
scribus-commit
scribus-commit at lists.scribus.net
Sat May 23 23:46:43 UTC 2015
Author: jghali
Date: Sat May 23 23:46:43 2015
New Revision: 20121
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20121
Log:
fix issue when exporting PDF with outlined fonts
Modified:
trunk/Scribus/scribus/pdflib_core.cpp
Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20121&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Sat May 23 23:46:43 2015
@@ -1978,26 +1978,26 @@
}
}
pdfFont.usage = Used_in_Content;
- QString meth;
- switch (pdfFont.method)
- {
- case Use_System:
- meth = "Systemfont (no embedding)"; break;
- case Use_Embedded:
- meth = "Embed"; break;
- case Use_Subset:
- meth = "Subset"; break;
- case Use_Type3:
- meth = "Subset as Type3 font"; break;
- case Use_XForm:
- meth = "Outline (PDF XForm)"; break;
- default:
- meth = "?"; break;
- }
- qDebug() << pdfFont.name << "uses method" << meth << "and encoding" << pdfFont.encoding;
- UsedFontsP.insert(it.key(), pdfFont);
- a++;
- }
+ }
+ a++;
+ QString meth;
+ switch (pdfFont.method)
+ {
+ case Use_System:
+ meth = "Systemfont (no embedding)"; break;
+ case Use_Embedded:
+ meth = "Embed"; break;
+ case Use_Subset:
+ meth = "Subset"; break;
+ case Use_Type3:
+ meth = "Subset as Type3 font"; break;
+ case Use_XForm:
+ meth = "Outline (PDF XForm)"; break;
+ default:
+ meth = "?"; break;
+ }
+ qDebug() << pdfFont.name << "uses method" << meth << "and encoding" << pdfFont.encoding;
+ UsedFontsP.insert(it.key(), pdfFont);
}
}
More information about the scribus-commit
mailing list