mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
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.
This commit is contained in:
parent
42fc0af325
commit
35164e2860
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ class gfxShapedWord;
|
|||
class gfxSkipChars;
|
||||
class gfxMathTable;
|
||||
|
||||
// If you change this value, also change MAX_FONT_SIZE in cairo-ft-font.c to match
|
||||
#define FONT_MAX_SIZE 2000.0
|
||||
|
||||
#define NO_FONT_LANGUAGE_OVERRIDE 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue