https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-graphics-drawing-V5\#enablesubpixel通过enablesubpixel使字体更平滑,因为它使用了次像素渲染。https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-graphics-drawing-V5\#fontedging12字形边缘效果类型枚举。设置使用抗锯齿处理,无抗锯齿,次元素等字形渲染效果。
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-graphics-drawing-V5\#enablesubpixel
通过enablesubpixel使字体更平滑,因为它使用了次像素渲染。
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-graphics-drawing-V5\#fontedging12
字形边缘效果类型枚举。设置使用抗锯齿处理,无抗锯齿,次元素等字形渲染效果。