[OS/2] Fix build break in gfxOS2Fonts.cpp (mimic gfxPangoFonts change that supposedly came from Bug 385423)

This commit is contained in:
mozilla@weilbacher.org 2007-07-05 13:50:44 -07:00
Родитель 1f26ddd94b
Коммит 3c0456cebe
1 изменённых файлов: 1 добавлений и 3 удалений

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

@ -538,10 +538,8 @@ void gfxOS2FontGroup::CreateGlyphRunsFT(gfxTextRun *aTextRun, const PRUint8 *aUT
if (ch == 0) {
// treat this null byte as a missing glyph, don't create a glyph for it
aTextRun->SetMissingGlyph(utf16Offset, 0);
} else if (ch < 0x10000 && IsInvisibleChar(PRUnichar(ch))) {
// hide glyphs for invisible chars (tabs, linebreaks)
aTextRun->SetCharacterGlyph(utf16Offset, g.SetMissing());
} else {
NS_ASSERTION(!IsInvalidChar(ch), "Invalid char detected");
FT_UInt gid = FT_Get_Char_Index(face, ch); // find the glyph id
PRInt32 advance = 0;
if (gid == font->GetSpaceGlyph()) {