openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1631975 - /openoffice/trunk/main/vcl/source/gdi/pdfwriter_impl.cxx
Date Wed, 15 Oct 2014 09:03:39 GMT
Author: hdu
Date: Wed Oct 15 09:03:39 2014
New Revision: 1631975

URL: http://svn.apache.org/r1631975
Log:
#i63015# always default to WinAnsiEncoding for non-symbol PDF-Type1 export

Suggested-By: edv@gruene.de
Reviewed-By: hdu@apache.org

Modified:
    openoffice/trunk/main/vcl/source/gdi/pdfwriter_impl.cxx

Modified: openoffice/trunk/main/vcl/source/gdi/pdfwriter_impl.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/gdi/pdfwriter_impl.cxx?rev=1631975&r1=1631974&r2=1631975&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/gdi/pdfwriter_impl.cxx (original)
+++ openoffice/trunk/main/vcl/source/gdi/pdfwriter_impl.cxx Wed Oct 15 09:03:39 2014
@@ -3693,7 +3693,7 @@ std::map< sal_Int32, sal_Int32 > PDFWrit
                 "<</Type/Font/Subtype/Type1/BaseFont/" );
             appendName( aInfo.m_aPSName, aLine );
             aLine.append( "\n" );
-            if( !pFont->mbSymbolFlag &&  pEncoding == 0 )
+            if( !pFont->IsSymbolFont() )
                 aLine.append( "/Encoding/WinAnsiEncoding\n" );
             if( nToUnicodeStream )
             {



Mime
View raw message