Update CharacterMapXamlExporter.cs
This commit is contained in:
Родитель
02fde53d36
Коммит
8f951760db
|
@ -9,10 +9,12 @@ namespace TypefaceUtil
|
|||
{
|
||||
public static void Save(Dictionary<int, ushort> characterToGlyphMap, SKTypeface typeface, float textSize, string brush, StreamWriter streamWriter)
|
||||
{
|
||||
var skColor = new SKColor(0x00, 0x00, 0x00);
|
||||
|
||||
using var skTextPaint = new SKPaint
|
||||
{
|
||||
IsAntialias = true,
|
||||
Color = new SKColor(0x00, 0x00, 0x00),
|
||||
Color = skColor,
|
||||
Typeface = typeface,
|
||||
TextEncoding = SKTextEncoding.Utf32,
|
||||
TextSize = textSize,
|
||||
|
|
Загрузка…
Ссылка в новой задаче