/// <inheritdoc/> public Task WriteAsync(SvgFile svgFile, string?outputFolder, CancellationToken cancellationToken) { return(File.WriteAllTextAsync(svgFile.GetPath(outputFolder), string.Format(SvgFile, SvgFont.DefaultSize, svgFile.PathData), Encoding.UTF8, cancellationToken)); }
/// <inheritdoc/> public async Task WriteAsync(SvgFile svgFile, string?outputFolder, CancellationToken cancellationToken) { await TextWriter.WriteLineAsync(string.Format(Glyph, svgFile.GlyphName, svgFile.Unicode, svgFile.PathData)); }