Sublime Forum

Chinese character width issue with "directwrite" font option

#1

SublimeVersion: Stable Channel Build 4143
OS: Windows 11 22H2 Build22621.1928

By convention, with fixed-width english font, a Chinese character shall take the space of two English letters.

However, with “font_options” set to “directwrite”, you simply cannot align columns.
You can see screenshot below:

“font_options”:[“directwrite”]

This bug exists when using “directwrite”.
It does not exist when using “GDI”.

0 Likes

#2

Below is a picture with “font_option” set to “gdi”.

“font_options”:[“gdi”]

image

0 Likes

#3

Is anyone here for internalization issues?

0 Likes

#4

Isssues are tracked at https://github.com/sublimehq/sublime_text/issues

Forum posts tend to get burried over time.

Maybe related with https://github.com/sublimehq/sublime_text/issues/2350

0 Likes

#5

OK, thanks.

0 Likes