зеркало из https://github.com/mozilla/pjs.git
r=me, sr=blizzard (platform specific code) OS/2 only - regession caused by webdings code - forgot to set convertcodepage in unicode case
This commit is contained in:
Родитель
739ba9d92e
Коммит
da86b28849
|
@ -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 )
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче