r23727 by jghali - Fix coverity 1438496: Uninitialized scalar variable
scribus-commit
scribus-commit at lists.scribus.net
Sun May 10 12:40:37 UTC 2020
Author: jghali
Date: Sun May 10 12:40:36 2020
New Revision: 23727
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23727
Log:
Fix coverity 1438496: Uninitialized scalar variable
Modified:
trunk/Scribus/scribus/pdflib_core.cpp
Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23727&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Sun May 10 12:40:36 2020
@@ -1816,6 +1816,7 @@
{
PdfFont result;
result.name = Pdf::toName(fontName);
+ result.usage = Used_in_Content;
result.method = glyphmap.isEmpty()? Use_Embedded : Use_Subset;
result.encoding = glyphmap.isEmpty()? Encode_IdentityH : Encode_Subset;
result.glyphmap = glyphmap;
More information about the scribus-commit
mailing list