Table of Contents

Class ChineseFontFallback

Namespace
VpnHood.AppUi.Hosting.Avalonia
Assembly
VpnHood.AppUi.Hosting.Avalonia.dll

Provides a font fallback that draws the Chinese characters and their punctuation in a Simplified Chinese face on Windows and Linux.

public static class ChineseFontFallback
Inheritance
ChineseFontFallback
Inherited Members

Remarks

Elsewhere it changes nothing, so only a desktop host calls it.

Methods

WithChineseFontFallback(AppBuilder)

Names Microsoft YaHei UI on Windows, or Noto Sans CJK SC on Linux, as the face of the Chinese characters and their punctuation; elsewhere it changes nothing.

public static AppBuilder WithChineseFontFallback(this AppBuilder builder)

Parameters

builder AppBuilder

The app builder.

Returns

AppBuilder

The app builder.