Skip to content

Chinese font width error when using third party font #10933

@sb-child

Description

@sb-child

Hi,
When I change default font to some third party font
such as
editor.font=Source Code Pro,plain,13
and
editor.font=JetBrains Mono,plain,13
in preferences.txt, Chinese font width(2 English character width) narrowed, but display as expected.
When selecting Chinese text, the highlight width is only one English character width.
img

Arduino IDE version: 1.8.13 (also tested in the nighty version)
Operating system: Archlinux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions