summaryrefslogtreecommitdiffstats
path: root/gfx/thebes/gfxFcPlatformFontList.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-27 21:20:57 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-27 21:20:57 +0200
commitb6a49b6623ae623f33ec2a16256c06ef62f09640 (patch)
tree20819b00e64f7f8f641c3afaeebffa4898b9c7e0 /gfx/thebes/gfxFcPlatformFontList.h
parentcb59151acd51f4317c563bc6a3448a9c02a24e12 (diff)
downloadUXP-b6a49b6623ae623f33ec2a16256c06ef62f09640.tar
UXP-b6a49b6623ae623f33ec2a16256c06ef62f09640.tar.gz
UXP-b6a49b6623ae623f33ec2a16256c06ef62f09640.tar.lz
UXP-b6a49b6623ae623f33ec2a16256c06ef62f09640.tar.xz
UXP-b6a49b6623ae623f33ec2a16256c06ef62f09640.zip
Allow bitmap fonts to force scaling and bypass tolerance check in gfxFcPlatformFontList.
Diffstat (limited to 'gfx/thebes/gfxFcPlatformFontList.h')
-rw-r--r--gfx/thebes/gfxFcPlatformFontList.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gfx/thebes/gfxFcPlatformFontList.h b/gfx/thebes/gfxFcPlatformFontList.h
index 1bc35021e..aa8f614a9 100644
--- a/gfx/thebes/gfxFcPlatformFontList.h
+++ b/gfx/thebes/gfxFcPlatformFontList.h
@@ -175,7 +175,8 @@ public:
explicit gfxFontconfigFontFamily(const nsAString& aName) :
gfxFontFamily(aName),
mContainsAppFonts(false),
- mHasNonScalableFaces(false)
+ mHasNonScalableFaces(false),
+ mForceScalable(false)
{ }
void FindStyleVariations(FontInfoData *aFontInfoData = nullptr) override;
@@ -201,6 +202,7 @@ protected:
bool mContainsAppFonts;
bool mHasNonScalableFaces;
+ bool mForceScalable;
};
class gfxFontconfigFont : public gfxFontconfigFontBase {