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: [email protected] Reviewed-By: [email protected] 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 ) {
