Open
Description
Description
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:
Code
Example here demonstrating broken and working versions: https://github.com/meridaio/SkiaSharpTextAntialiasing
Expected Behavior
Setting SKPaint.IsAntialias = false
should disable antialiasing for the SKCanvas.DrawText
method.
Actual Behavior
The SKPaint.IsAntialias
property seems to have no effect on the SKCanvas.DrawText
method
Version 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
- I agree to follow this project's Code of Conduct
Metadata
Assignees
Type
Projects
Status
New
Activity