bug 623974 - use GDI aliased spacing in DW when ClearType is off. r=bas a=joe

This commit is contained in:
Jonathan Kew 2011-01-12 10:34:11 +00:00
parent 8ae932d6da
commit a3e5752a14
2 changed files with 2 additions and 2 deletions

View File

@ -494,7 +494,7 @@ gfxDWriteFont::GetHintedGlyphWidth(gfxContext *aCtx, PRUint16 aGID)
DWRITE_GLYPH_METRICS glyphMetrics;
HRESULT hr = mFontFace->GetGdiCompatibleGlyphMetrics(
GetAdjustedSize(), 1.0f, nsnull, TRUE,
GetAdjustedSize(), 1.0f, nsnull, FALSE,
&aGID, 1, &glyphMetrics, FALSE);
if (NS_SUCCEEDED(hr)) {

View File

@ -188,7 +188,7 @@ trymoreglyphs:
font->GetAdjustedSize(),
1.0,
nsnull,
TRUE,
FALSE,
FALSE,
FALSE,
&runHead->mScript,