You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SKCanvas.DrawText method no longer obeys the SKPaint.IsAntialias property of the provided SKPaint object. Prior to 3.116.0, setting this property to false produces the following image:
and setting it to true produces:
On versions 3.116.0 and 3.116.1, the image produced when IsAntialias is false now looks like this:
and set to true:
Description
The
SKCanvas.DrawText
method no longer obeys theSKPaint.IsAntialias
property of the providedSKPaint
object. Prior to 3.116.0, setting this property to false produces the following image:and setting it to true produces:
On versions 3.116.0 and 3.116.1, the image produced when
IsAntialias
is false now looks like this:and set to true:
Code
Example here demonstrating broken and working versions: https://github.com/meridaio/SkiaSharpTextAntialiasing
Expected Behavior
Setting
SKPaint.IsAntialias = false
should disable antialiasing for theSKCanvas.DrawText
method.Actual Behavior
The
SKPaint.IsAntialias
property seems to have no effect on theSKCanvas.DrawText
methodVersion of SkiaSharp
3.116.0 (Current)
Last Known Good Version of SkiaSharp
2.88.9 (Previous)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Windows 11
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: