Skip to content

max_chars issue with CJK (Chinese/Japanese/Korean) characters. #784

@Efterklang

Description

@Efterklang

Thanks for the great work. <3

In my config, I use max_char to prevent label text from taking up too much space or overflow popup's boundary

However, CJK characters are typically double-width, so labels containing them occupy more space than Latin characters, which leads to inconsistent layout.

I’m wondering if it would be possible to support counting CJK characters as double-width when applying max_char.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions