Italic Font not work for Chinese/Japanese/Korean on iOS 7

后端 未结 3 1147
情深已故
情深已故 2021-02-11 10:59

I want to set Italic Font Style in UITextView, but Italic Font just not work for Chinese/Japanese/Korean on iOS 7.Could anyone help?

3条回答
  •  春和景丽
    2021-02-11 11:40

    Agree with @an0 but In this way to made transform are better for read and understand

    CGAffineTransform CGAffineTransformMakeSkew (CGFloat degree) {
        CGAffineTransform t = CGAffineTransformIdentity;
        t.c = (degree * M_PI / 180.0f);
        return t;
    }
    

提交回复
热议问题