From 45bdb3c528d77b60bab4c4296efb68dd8f9d0be8 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Wed, 27 Nov 2002 21:33:37 +0000 Subject: [PATCH] #182014 r=me, sr=blizzard (platform specific code) OS/2 only - regession caused by webdings code - forgot to set convertcodepage in unicode case git-svn-id: svn://10.0.0.236/trunk@134540 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/os2/nsFontMetricsOS2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/gfx/src/os2/nsFontMetricsOS2.cpp b/mozilla/gfx/src/os2/nsFontMetricsOS2.cpp index fc77bfa236a..783d0fbb1c7 100644 --- a/mozilla/gfx/src/os2/nsFontMetricsOS2.cpp +++ b/mozilla/gfx/src/os2/nsFontMetricsOS2.cpp @@ -1621,6 +1621,7 @@ nsFontMetricsOS2::ResolveForwards(HPS aPS, fh = new nsFontOS2(); *fh = *mFontHandle; fh->mFattrs.usCodePage = 1252; + fh->mConvertCodePage = 1252; fontSwitch.mFont = fh; while( ++currChar < lastChar ) { @@ -1715,6 +1716,7 @@ nsFontMetricsOS2::ResolveBackwards(HPS aPS, fh = new nsFontOS2(); *fh = *mFontHandle; fh->mFattrs.usCodePage = 1252; + fh->mConvertCodePage = 1252; fontSwitch.mFont = fh; while( --currChar > lastChar ) {