Description
Description
SKCanvas.DrawText cannot write over a SKBitmap in Azure App Service application for Windows but works in the similar application for Azure App Service on Linux. There is no error or exception, it just does not have any effect.
This is a regression because it was working well in 2.88.9 .
Code
SKBitmap skBitmap = SKBitmap.FromImage(skImage);
SKCanvas skCanvas = new SKCanvas(skBitmap);
SKFont skFont = new SKFont(SKTypeface.Default, 16);
SKPaint sKPaint = new SKPaint(skFont);
sKPaint.Color = new SKColor(255, 0, 0);
sKPaint.IsAntialias = true;
skCanvas.DrawText("My Text", 10, 10, sKPaint);
Expected Behavior
A text is written over the image
Actual Behavior
No text is written and no exception is thrown
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, Other (Please indicate in the description)
Platform / Operating System Version
Azure App Service for Windows
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