Skip to content

Commit

Permalink
Backport 62610203f18095cbd25b456f0622bad033a65a5d
Browse files Browse the repository at this point in the history
  • Loading branch information
GoeLin committed Sep 12, 2023
1 parent dc00ae4 commit db2edea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ Java_sun_font_FreetypeFontScaler_createScalerContextNative(
if ((aa != TEXT_AA_ON) && (fm != TEXT_FM_ON) &&
!context->doBold && !context->doItalize &&
(context->transform.yx == 0) && (context->transform.xy == 0) &&
(context->transform.xx > 0) && (context->transform.yy > 0))
(context->transform.xx > 0) && (context->transform.yy > 0) &&
(context->transform.xx == context->transform.yy))
{
context->useSbits = 1;
}
Expand Down

0 comments on commit db2edea

Please sign in to comment.