mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
bug 623974 - use GDI aliased spacing in DW when ClearType is off. r=bas a=joe
This commit is contained in:
parent
8ae932d6da
commit
a3e5752a14
@ -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)) {
|
||||
|
@ -188,7 +188,7 @@ trymoreglyphs:
|
||||
font->GetAdjustedSize(),
|
||||
1.0,
|
||||
nsnull,
|
||||
TRUE,
|
||||
FALSE,
|
||||
FALSE,
|
||||
FALSE,
|
||||
&runHead->mScript,
|
||||
|
Loading…
Reference in New Issue
Block a user