Skip to content

Aligning double-width characters within their occupying cells #1313

@SectionCotangentBundle

Description

@SectionCotangentBundle

~/.minttyrc-test:

# https://fonts.google.com/specimen/Source+Code+Pro
Font=Source Code Pro
FontChoice=Hangul:9
# https://github.com/orioncactus/pretendard
Font9=Pretendard
Font9Weight=1000

Running mintty '3.7.7' via mintty -c ~/.minttyrc-test, and then open vim and type some alphabets and Hangul characters, as shown in the image below.

Image

Hangul characters occupies two cells in terminal and and are left-aligned.
Because of this, the right ) leaves a larger space before it compared to the left (.

Pretendard is not a monospace font, as far as I know.
I would like to align Hangul characters in the center to balance the spacing, without using a monospace font.
Is there a way to achieve this?

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