diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /gfx/thebes/gfxMacPlatformFontList.h | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/thebes/gfxMacPlatformFontList.h')
-rw-r--r-- | gfx/thebes/gfxMacPlatformFontList.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gfx/thebes/gfxMacPlatformFontList.h b/gfx/thebes/gfxMacPlatformFontList.h index ac0d8927fe..8bafa1b803 100644 --- a/gfx/thebes/gfxMacPlatformFontList.h +++ b/gfx/thebes/gfxMacPlatformFontList.h @@ -17,6 +17,9 @@ class gfxMacPlatformFontList final : public CoreTextFontList { gfxPlatformFontList::PlatformFontList()); } + nsTArray<std::pair<const char**, uint32_t>> GetFilteredPlatformFontLists() + override; + static void LookupSystemFont(mozilla::LookAndFeel::FontID aSystemFontID, nsACString& aSystemFontName, gfxFontStyle& aFontStyle); @@ -25,11 +28,6 @@ class gfxMacPlatformFontList final : public CoreTextFontList { bool DeprecatedFamilyIsAvailable(const nsACString& aName) override; FontVisibility GetVisibilityForFamily(const nsACString& aName) const override; - FontFamily GetDefaultFontForPlatform(nsPresContext* aPresContext, - const gfxFontStyle* aStyle, - nsAtom* aLanguage = nullptr) - MOZ_REQUIRES(mLock) override; - private: friend class gfxPlatformMac; @@ -40,9 +38,6 @@ class gfxMacPlatformFontList final : public CoreTextFontList { void InitSingleFaceList() MOZ_REQUIRES(mLock) override; void InitAliasesForSingleFaceList() MOZ_REQUIRES(mLock) override; - // initialize system fonts - void InitSystemFontNames() override MOZ_REQUIRES(mLock); - nsTArray<nsCString> mSingleFaceFonts; }; |