File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 6517
6517
/* error. As a delta instruction doesn't change a glyph */
6518
6518
/* in great ways, this shouldn't be a problem. */
6519
6519
6520
- if ( !BOUNDS ( A , exc -> zp0 .n_points ) )
6520
+ if ( BOUNDS ( A , exc -> zp0 .n_points ) )
6521
+ {
6522
+ if ( exc -> pedantic_hinting )
6523
+ {
6524
+ exc -> error = FT_THROW ( Invalid_Reference );
6525
+ return ;
6526
+ }
6527
+ }
6528
+ else
6521
6529
{
6522
6530
if ( ( B & 0xF0 ) == P )
6523
6531
{
6526
6534
B ++ ;
6527
6535
B *= F ;
6528
6536
6529
-
6530
6537
#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
6531
6538
/* See `ttinterp.h' for details on backward compatibility mode. */
6532
6539
if ( exc -> backward_compatibility )
6541
6548
exc -> func_move ( exc , & exc -> zp0 , A , B );
6542
6549
}
6543
6550
}
6544
- else
6545
- if ( exc -> pedantic_hinting )
6546
- exc -> error = FT_THROW ( Invalid_Reference );
6547
6551
}
6548
6552
}
6549
6553
You can’t perform that action at this time.
0 commit comments