Monospace Chinese font

I'm trying to write some Python code to process Chinese text, but the Chinese characters in the source code mess up the monospace font. That is, all the Latin characters are monospaced, but the Chinese characters are wider. That messes up my code's alignment.

Is there any monospace font that includes Chinese glyphs at the same width as the Latin characters?

I have tried several on Ubuntu 16.04, including DejaVu Sans Mono, FreeMono, and Noto Sans Mono, but they all have wider Chinese characters.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like