Fixed the source
This commit is contained in:
Родитель
4074c2db3d
Коммит
30bbda8a04
|
@ -1,9 +1,9 @@
|
|||
using System;
|
||||
|
||||
using SkiaSharp;
|
||||
using System.Linq;
|
||||
|
||||
namespace HarfBuzzSharp
|
||||
using HarfBuzzSharp;
|
||||
|
||||
namespace SkiaSharp.HarfBuzz
|
||||
{
|
||||
public static class CanvasExtensions
|
||||
{
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
|
||||
using SkiaSharp;
|
||||
using SkiaSharp.HarfBuzz;
|
||||
using HarfBuzzSharp;
|
||||
|
||||
namespace HarfBuzzSharp
|
||||
namespace SkiaSharp.HarfBuzz
|
||||
{
|
||||
public class SKShaper : IDisposable
|
||||
{
|
||||
internal const int FONT_SIZE_SCALE = 512;
|
||||
|
||||
private Font font;
|
||||
private Buffer buffer;
|
||||
private HarfBuzzSharp.Buffer buffer;
|
||||
|
||||
public SKShaper(SKTypeface typeface)
|
||||
{
|
||||
|
@ -32,7 +31,7 @@ namespace HarfBuzzSharp
|
|||
font.SetFunctionsOpenType();
|
||||
}
|
||||
|
||||
buffer = new Buffer();
|
||||
buffer = new HarfBuzzSharp.Buffer();
|
||||
}
|
||||
|
||||
public SKTypeface Typeface { get; private set; }
|
||||
|
|
|
@ -5,6 +5,7 @@ using System.Runtime.InteropServices;
|
|||
using NUnit.Framework;
|
||||
|
||||
using SkiaSharp;
|
||||
using SkiaSharp.HarfBuzz;
|
||||
|
||||
namespace HarfBuzzSharp.Tests
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче