@@ -0,0 +1,11 @@
+using Avalonia.Platform;
+
+namespace Avalonia.Benchmarks
+{
+ internal class NullGlyphRun : IGlyphRunImpl
+ {
+ public void Dispose()
+ }
+}
@@ -72,7 +72,9 @@ namespace Avalonia.Benchmarks
public IGlyphRunImpl CreateGlyphRun(GlyphRun glyphRun, out double width)
{
- throw new NotImplementedException();
+ width = default;
+ return new NullGlyphRun();
}