зеркало из https://github.com/mozilla/pjs.git
BeOS does not show Japanese fonts on some widgets. Bug 186495, patch
contributed by Ryo Hattori <ryo@myrealbox.com>, r=sergei_d@fi.tartu.ee
This commit is contained in:
Родитель
35f76278bb
Коммит
f5234689f8
|
@ -247,8 +247,6 @@ NS_IMETHODIMP nsDeviceContextBeOS::GetSystemFont(nsSystemFontID aID, nsFont *aFo
|
|||
break;
|
||||
case eSystemFont_List:
|
||||
case eSystemFont_Field:
|
||||
status = GetSystemFontInfo(be_fixed_font, aID, aFont);
|
||||
break;
|
||||
case eSystemFont_Icon :
|
||||
case eSystemFont_MessageBox :
|
||||
case eSystemFont_SmallCaption :
|
||||
|
@ -460,7 +458,7 @@ nsDeviceContextBeOS::GetSystemFontInfo(const BFont *theFont, nsSystemFontID anID
|
|||
break;
|
||||
case eSystemFont_List:
|
||||
case eSystemFont_Field:
|
||||
theFont = be_fixed_font;
|
||||
theFont = be_plain_font;
|
||||
break;
|
||||
case eSystemFont_Caption:
|
||||
theFont = be_bold_font;
|
||||
|
|
Загрузка…
Ссылка в новой задаче