bug 1006475 - remove unused method gfxPlatformFontList::SetFixedPitch. r=jdaggett

This commit is contained in:
Jonathan Kew 2014-05-13 18:08:09 +01:00
parent 2aec8e32d5
commit 014c71e67b
2 changed files with 0 additions and 19 deletions

View File

@ -423,22 +423,6 @@ gfxPlatformFontList::PreloadNamesList()
}
void
gfxPlatformFontList::SetFixedPitch(const nsAString& aFamilyName)
{
gfxFontFamily *family = FindFamily(aFamilyName);
if (!family) return;
family->FindStyleVariations();
nsTArray<nsRefPtr<gfxFontEntry> >& fontlist = family->GetFontList();
uint32_t i, numFonts = fontlist.Length();
for (i = 0; i < numFonts; i++) {
fontlist[i]->mFixedPitch = 1;
}
}
void
gfxPlatformFontList::LoadBadUnderlineList()
{

View File

@ -264,9 +264,6 @@ protected:
// load the bad underline blacklist from pref.
void LoadBadUnderlineList();
// explicitly set fixed-pitch flag for all faces
void SetFixedPitch(const nsAString& aFamilyName);
void GenerateFontListKey(const nsAString& aKeyName, nsAString& aResult);
static PLDHashOperator