mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 11:27:32 +09:00
Allow bitmap fonts to force scaling and bypass tolerance check in gfxFcPlatformFontList.
This commit is contained in:
parent
2c33a1ce08
commit
4a9865465f
2 changed files with 23 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue