Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
2a790a9f
by Ben Wanger at 2024-02-29T07:06:46+01:00
2 changed files:
Changes:
... | ... | @@ -694,8 +694,7 @@ |
694 | 694 | FT_UInt instance_index = (FT_UInt)face_index >> 16;
|
695 | 695 | |
696 | 696 | |
697 | - if ( FT_HAS_MULTIPLE_MASTERS( cffface ) &&
|
|
698 | - instance_index > 0 )
|
|
697 | + if ( FT_HAS_MULTIPLE_MASTERS( cffface ) )
|
|
699 | 698 | {
|
700 | 699 | error = FT_Set_Named_Instance( cffface, instance_index );
|
701 | 700 | if ( error )
|
... | ... | @@ -784,8 +784,7 @@ |
784 | 784 | FT_UInt instance_index = (FT_UInt)face_index >> 16;
|
785 | 785 | |
786 | 786 | |
787 | - if ( FT_HAS_MULTIPLE_MASTERS( ttface ) &&
|
|
788 | - instance_index > 0 )
|
|
787 | + if ( FT_HAS_MULTIPLE_MASTERS( ttface ) )
|
|
789 | 788 | {
|
790 | 789 | error = FT_Set_Named_Instance( ttface, instance_index );
|
791 | 790 | if ( error )
|