contour icon indicating copy to clipboard operation
contour copied to clipboard

Chinese fallback-fonts is invalid

Open lokalius opened this issue 7 months ago • 1 comments
trafficstars

Contour Terminal version

0.6.1.7494

Installer source

GitHub: Release page attachment

Operating System

Windows 10 19045.5608

Architecture

x86 / i386

Other Software

No response

Steps to reproduce

font:
    size: 12
    locator: native
    text_shaping:
        engine: harfbuzz
    builtin_box_drawing: true
    render_mode: Gray
    strict_spacing: false
    regular:
        family: "UbuntuMono Nerd Font Mono"
        weight: Regular
        slant: Normal
        features: []
        fallback: ["HONOR Sans CN", "HarmonyOS Sans SC"]

My configuration file is as above. I have referred to questions #590 and #343 for configuration, including setting strict_spacing: false, but there is still an issue with my Chinese fallback character display.

Image

But if I set:

family: "HONOR Sans CN"
fallback: none

Chinese characters can be displayed normally, but the layout is messy.

I also try some other fonts, such as "Microsoft YaHei", "SimHei", ... The following configuration is normal:

family: "SimHei"
fallback: none

Expected Behavior

No response

Actual Behavior

null

Additional notes

No response

lokalius avatar Apr 10 '25 01:04 lokalius