cpitclaudel / monospacifier

Convert variable-pitch fonts to monospace (useful for unicode and indentation-friendly programming)
GNU General Public License v3.0
370 stars 32 forks source link

DBCS (particularly CJK) support #31

Open win98se opened 2 years ago

win98se commented 2 years ago

Currently all DBCS characters' widths are chopped as half after being processed by monospacifier.py.

image

image

image

(Still can be displayed in full when spaces are added between every character though)

cpitclaudel commented 2 years ago

We could add a special case that picks a multiple of the base char width instead of 1; would you consider submitting a patch?

win98se commented 2 years ago

Sure, just sent - see #33.