Skip to content

Commit

Permalink
cff: Increase charstring stack so we can handle mislablelled CFF2 fonts.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebras committed Nov 14, 2024
1 parent 8655c25 commit 1a45e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/fitz/subset-cff.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ static void
execute_charstring(fz_context *ctx, cff_t *cff, const uint8_t *pc, const uint8_t *end, uint16_t subr_bias, usage_list_t *local_usage)
{
double trans[32] = { 0 };
double stack[48];
double stack[513];
int sp = 0;
int stem_hints = 0;
uint8_t c;
Expand Down

0 comments on commit 1a45e0a

Please sign in to comment.