mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1006475 - remove unused method gfxPlatformFontList::SetFixedPitch. r=jdaggett
This commit is contained in:
parent
2aec8e32d5
commit
014c71e67b
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user