diff --git a/gfx/thebes/gfxTextRun.h b/gfx/thebes/gfxTextRun.h index ae31de94ea3f..a962f8013c4f 100644 --- a/gfx/thebes/gfxTextRun.h +++ b/gfx/thebes/gfxTextRun.h @@ -831,18 +831,6 @@ public: int32_t aRunScript, gfxFont *aPrevMatchedFont, uint8_t *aMatchType); - // search through pref fonts for a character, return nullptr if no matching pref font - virtual already_AddRefed WhichPrefFontSupportsChar(uint32_t aCh); - - already_AddRefed - WhichSystemFontSupportsChar(uint32_t aCh, uint32_t aNextCh, - int32_t aRunScript); - - template - void ComputeRanges(nsTArray& mRanges, - const T *aString, uint32_t aLength, - int32_t aRunScript, uint16_t aOrientation); - gfxUserFontSet* GetUserFontSet(); // With downloadable fonts, the composition of the font group can change as fonts are downloaded @@ -891,6 +879,18 @@ public: nsTArray& aGenericFamilies); protected: + // search through pref fonts for a character, return nullptr if no matching pref font + already_AddRefed WhichPrefFontSupportsChar(uint32_t aCh); + + already_AddRefed + WhichSystemFontSupportsChar(uint32_t aCh, uint32_t aNextCh, + int32_t aRunScript); + + template + void ComputeRanges(nsTArray& mRanges, + const T *aString, uint32_t aLength, + int32_t aRunScript, uint16_t aOrientation); + class FamilyFace { public: FamilyFace() : mFamily(nullptr), mFontEntry(nullptr),