зеркало из https://github.com/SixLabors/Fonts.git
Fix bad warning fix
This commit is contained in:
Родитель
796d4bc858
Коммит
ff3acbfc19
|
@ -137,7 +137,7 @@ public sealed class FontCollection : IFontCollection, IFontMetricsCollection
|
|||
/// <inheritdoc/>
|
||||
FontFamily IFontMetricsCollection.AddMetrics(FontMetrics metrics, CultureInfo culture)
|
||||
{
|
||||
((IFontMetricsCollection)this).AddMetrics(metrics, culture);
|
||||
((IFontMetricsCollection)this).AddMetrics(metrics);
|
||||
return new FontFamily(metrics.Description.FontFamily(culture), this, culture);
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace SixLabors.Fonts.Benchmarks;
|
|||
/// <para>We should see if we can include the Skia HarfBuzz extensions to see how we compare.</para>
|
||||
/// </summary>
|
||||
[MediumRunJob]
|
||||
public sealed class MeasureTextBenchmark : IDisposable
|
||||
public class MeasureTextBenchmark : IDisposable
|
||||
{
|
||||
private readonly TextOptions textOptions;
|
||||
private readonly SKTypeface arialTypeface;
|
||||
|
|
Загрузка…
Ссылка в новой задаче