Kaydet (Commit) 297b22bd authored tarafından Caolán McNamara's avatar Caolán McNamara

Revert "Resolves: #i63015# always default to WinAnsiEncoding..."

Because under Linux use text
"'"
and font "Nimbus Sans L"
and export as pdf and the output is garbled

If we do want to stick WinAnsiEncoding here then we'll presumably have have to
test that pEncoding actually matches WinAnsiEncoding and/or generate an
additional Encoding/Differences from WinAnsiEncoding for that font.

This reverts commit eea16cb3.
üst 60f822e4
......@@ -3504,7 +3504,7 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitEmbeddedFont( const Physical
"<</Type/Font/Subtype/Type1/BaseFont/" );
appendName( aInfo.m_aPSName, aLine );
aLine.append( "\n" );
if( !pFont->IsSymbolFont() )
if( !pFont->IsSymbolFont() && pEncoding == 0 )
aLine.append( "/Encoding/WinAnsiEncoding\n" );
if( nToUnicodeStream )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment