Browse Source

Update tests

pull/8313/head
Benedikt Stebner 4 years ago
parent
commit
e48c984443
  1. 2
      tests/Avalonia.RenderTests/Media/GlyphRunTests.cs
  2. BIN
      tests/TestFiles/Direct2D1/Media/GlyphRun/Should_Render_GlyphRun_Geometry.expected.png
  3. BIN
      tests/TestFiles/Skia/Media/GlyphRun/Should_Render_GlyphRun_Geometry.expected.png

2
tests/Avalonia.RenderTests/Media/GlyphRunTests.cs

@ -54,7 +54,7 @@ namespace Avalonia.Direct2D1.RenderTests.Media
public GlyphRunGeometryControl()
{
var glyphTypeface = Typeface.Default.GlyphTypeface;
var glyphTypeface = new Typeface(TestFontFamily).GlyphTypeface;
var glyphIndices = new[] { glyphTypeface.GetGlyph('A'), glyphTypeface.GetGlyph('B'), glyphTypeface.GetGlyph('C') };

BIN
tests/TestFiles/Direct2D1/Media/GlyphRun/Should_Render_GlyphRun_Geometry.expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
tests/TestFiles/Skia/Media/GlyphRun/Should_Render_GlyphRun_Geometry.expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Loading…
Cancel
Save