Open janne-hmp opened 3 weeks ago
This is regarding text drawing. Also, there's interesting observation. If you switch IsAntialiasing on before DrawText and then switch off after the command, the text seems to be drawn without antialiasing at least on SKGLView. If you set it permanently on, the text is drawn with antialiasing.
Description
IsAntiAlisasing seems to be off by default for iOS but on for Android. Workaround: Set IsAntiAliasing always on before using SKPaint.
Code
https://github.com/hyvanmielenpelit/GnollHack
Expected Behavior
IsAntiAliasing is on by default for both iOS and Android
Actual Behavior
IsAntiAliasing is off (or just does not work) by default for iOS and but on for Android
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
2.80.x (Deprecated)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
iOS
Platform / Operating System Version
iOS 17.4.1
Devices
iPad 11,7
Relevant Screenshots
See https://github.com/mono/SkiaSharp/issues/2218 This was an antialiasing problem on iOS.
Relevant Log Output
No response
Code of Conduct