fix: endless loop when character missing both in current active font and the default font and the fallback font is same with the default.

This commit is contained in:
leo 2024-03-21 20:55:08 +08:00
parent 8f3f011d81
commit 98a46f8211
6 changed files with 15 additions and 18 deletions

View file

@ -19,10 +19,6 @@
<RepositoryUrl>https://github.com/sourcegit-scm/sourcegit.git</RepositoryUrl>
<RepositoryType>Public</RepositoryType>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
<DefineConstants>$(DefineConstants);USE_FONT_INTER</DefineConstants>
</PropertyGroup>
<ItemGroup>
<AvaloniaResource Include="App.ico" />
@ -47,7 +43,6 @@
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.10" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.10" Condition="$([MSBuild]::IsOSPlatform('Linux'))" />
<PackageReference Include="Avalonia.Desktop" Version="11.0.10" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.10" />
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.0.10" />