workaround for bitmap fonts. bug 324706. r=vlad

This commit is contained in:
pavlov%pavlov.net 2006-04-07 20:46:22 +00:00
Родитель 3f7785c7ce
Коммит 4ca4cc1563
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -326,7 +326,8 @@ gfxWindowsFont::FillLogFont(PRInt16 currentWeight)
mLogFont.lfStrikeOut = (mStyle->decorations & FONT_DECORATION_STRIKEOUT) ? TRUE : FALSE; mLogFont.lfStrikeOut = (mStyle->decorations & FONT_DECORATION_STRIKEOUT) ? TRUE : FALSE;
mLogFont.lfCharSet = DEFAULT_CHARSET; mLogFont.lfCharSet = DEFAULT_CHARSET;
#ifndef WINCE #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 #else
mLogFont.lfOutPrecision = OUT_DEFAULT_PRECIS; mLogFont.lfOutPrecision = OUT_DEFAULT_PRECIS;
#endif #endif