SkiaSharp drawText中文乱码问题
var fontManager = SKFontManager.Default; var emojiTypeface = fontManager.MatchCharacter('时'); var textPaint = new SKPaint(){ Color = Option.TipTextColor.ToSKColor(), TextSize = fontSize * fontSizeScale, Typeface = emojiTypeface };
这样可以解决中文乱码