mordak / Term48

50 stars 20 forks source link

How can display Chinese? #17

Open jyrnan opened 7 years ago

jyrnan commented 7 years ago

Thanks for this cool app! How can it display Chinese in shell?

mordak commented 7 years ago

Term48 will display glyphs from the ttf font file given in the font_path setting in the .term48rc file, so if you have a font file that has all of the glyphs you're looking for, then you should be able to just point Term48 at this file and it will work. Term48 needs a fixed width font, and will display all glyphs from that font at the same width. So if you have a ttf monospace font that has all your Chinese characters / glyphs in it, then you can just edit the .term48rc file and change the font_path variable to point to your font file, restart, and you should have Chinese characters.

I have heard from several users who have had a hard time finding a single monospace font file with all the glyphs they are interested in. Hopefully you have a monospace font file you like that has all the glyphs you need.

jyrnan commented 7 years ago

Thanks for your advice. I will try this way! Thanks again for this wonderful app!