summaryrefslogtreecommitdiff
path: root/psprint/source
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-05-11 13:17:41 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-05-11 13:17:41 +0000
commit7668062e9e8a1ecbd0a6d51b119f00d9f1f0f4d1 (patch)
tree8bffa1928d559715d4eb1c77f13f19e8308820b2 /psprint/source
parent7bcb746e7d0f4e3a089084bb0fa1902103d011c5 (diff)
mapping of symbols to unicode symbol area
Diffstat (limited to 'psprint/source')
-rw-r--r--psprint/source/fontmanager/fontmanager.cxx10
1 files changed, 8 insertions, 2 deletions
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 );