diff options
author | Moonchild <moonchild@palemoon.org> | 2021-11-20 22:10:34 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-11-20 22:10:34 +0000 |
commit | b52214195ee35c2dbd15b314781d1c3b1a3ebf02 (patch) | |
tree | d1132a98fa9656c3ef34f8860e555293f353c9b9 /libs | |
parent | 02bf67c42b972afc493697499f4f0d292d759f6b (diff) | |
download | aura-central-b52214195ee35c2dbd15b314781d1c3b1a3ebf02.tar.gz |
Issue %3039 - Increase the MAX_FONT_SIZE limit applied in cairo_ft_font to match
the gfxFont size limit.
Also adds synching comments just to be sure.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/cairo/src/cairo-ft-font.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/cairo/src/cairo-ft-font.c b/libs/cairo/src/cairo-ft-font.c index 1a2799b86..a2259c173 100644 --- a/libs/cairo/src/cairo-ft-font.c +++ b/libs/cairo/src/cairo-ft-font.c @@ -64,9 +64,12 @@ static setLcdFilterFunc setLcdFilter; /* This is the max number of FT_face objects we keep open at once */ #define MAX_OPEN_FACES 10 -/* This is the maximum font size we allow to be passed to FT_Set_Char_Size + +/* This is the (arbitrary) maximum font size we allow to be passed to + FT_Set_Char_Size. + Note: This should be equal to FONT_MAX_SIZE in thebes/gfxFont.h */ -#define MAX_FONT_SIZE 1000 +#define MAX_FONT_SIZE 2000 /** * SECTION:cairo-ft |