From 7668062e9e8a1ecbd0a6d51b119f00d9f1f0f4d1 Mon Sep 17 00:00:00 2001 From: Philipp Lohmann Date: Fri, 11 May 2001 13:17:41 +0000 Subject: mapping of symbols to unicode symbol area --- psprint/source/fontmanager/fontmanager.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'psprint/source') diff --git a/psprint/source/fontmanager/fontmanager.cxx b/psprint/source/fontmanager/fontmanager.cxx index e9b1044d87f6..b9291478610a 100644 --- a/psprint/source/fontmanager/fontmanager.cxx +++ b/psprint/source/fontmanager/fontmanager.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fontmanager.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: pl $ $Date: 2001-05-09 10:51:35 $ + * last change: $Author: pl $ $Date: 2001-05-11 14:17:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -595,6 +595,12 @@ bool PrintFontManager::PrintFont::readAfmMetrics( const OString& rFileName, Mult { if( pChar->code != -1 ) { + if( nAdobeEncoding == 3 && m_aEncoding == RTL_TEXTENCODING_SYMBOL ) + { + pUnicodes[i] = pChar->code + 0xf000; + continue; + } + ByteString aTranslate; if( pChar->code & 0xff000000 ) aTranslate += (char)(pChar->code >> 24 ); -- cgit