зеркало из https://github.com/mozilla/pjs.git
workaround for bitmap fonts. bug 324706. r=vlad
This commit is contained in:
Родитель
3f7785c7ce
Коммит
4ca4cc1563
|
@ -326,7 +326,8 @@ gfxWindowsFont::FillLogFont(PRInt16 currentWeight)
|
|||
mLogFont.lfStrikeOut = (mStyle->decorations & FONT_DECORATION_STRIKEOUT) ? TRUE : FALSE;
|
||||
mLogFont.lfCharSet = DEFAULT_CHARSET;
|
||||
#ifndef WINCE
|
||||
mLogFont.lfOutPrecision = OUT_TT_PRECIS;
|
||||
// XXX this should be OUT_TT_PRECIS. change it back when we do bitmap fonts correctly
|
||||
mLogFont.lfOutPrecision = OUT_TT_ONLY_PRECIS;
|
||||
#else
|
||||
mLogFont.lfOutPrecision = OUT_DEFAULT_PRECIS;
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче