Skip to content

Chinese fonts do not use the fonts set by the operating system #2287

@witt-bit

Description

@witt-bit

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Guake.

For how to run the latest Guake in your computer, please refer to Install from source.

Describe the bug

When I set the font to DejaVu Sans Mono Book, the Chinese characters are displayed as SimSun, but when I set it to LigaMonaco Nerd Font Regular, the default font of the operating system is displayed.

Expected behavior

Chinese should use the font set by the operating system. I set it to PingFang SC

Actual behavior

Chinese fonts are displayed as SimSun

To Reproduce

The font is set to DejaVu Sans Mono Book


$ guake --support
<details><summary>$ guake --support</summary>

Guake Version:		3.11.dev0

Vte Version:		0.80.2

Vte Runtime Version:	0.80.2

--------------------------------------------------
GTK+ Version:		3.24.49

GDK Backend:		<GdkX11.X11Display

--------------------------------------------------
Desktop Session: plasma

--------------------------------------------------
Display: :0

RGBA visual: True

Composited: True

* Monitor: 0 - CMN eDP-1
    * Geometry:		1920 x 1080 at 0, 0
    * Size:		309 x 173 mm²
    * Primary:		True
    * Refresh rate:	60.007 Hz
    * Subpixel layout:	unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions