diff options
author | Herbert Dürr <hdu@apache.org> | 2014-10-15 09:03:39 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2014-10-15 09:03:39 +0000 |
commit | b8186703cb43d2b57460cb23a7a4e3f989e95426 (patch) | |
tree | 4f22517380d8d1850877600b0308ff7d371d0631 | |
parent | 7b071b828a5f602cc30c17ddd871a75426a53faf (diff) |
#i63015# always default to WinAnsiEncoding for non-symbol PDF-Type1 export
Suggested-By: edv@gruene.de
Reviewed-By: hdu@apache.org
Notes
merged as: eea16cb3e65a4308caddb7618d31a76ca259dbb1
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index dffa0cd8db81..a0b135a8e0f1 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -3693,7 +3693,7 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitEmbeddedFont( const ImplFont "<</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 ) { |