Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format table with Chinese characters will not align to vertical line #26

Closed
yingqiangyu opened this issue Aug 1, 2017 · 4 comments
Closed
Labels
Issue: Enhancement Improvements in existing features.

Comments

@yingqiangyu
Copy link

I format one table which contains Chinese characters will appear this issue.
One Chinese character will take 2 English character space in table.
We can put 2 space for Chinese table for blank.

OSI中的层 功能 TCP/IP协议族
应用层 文件传输,电子邮件,文件服务,虚拟终端 TFTP,HTTP,SNMP,FTP,SMTP,DNS,Telnet
表示层 数据格式化,代码转换,数据加密 没有协议
会话层 解除或建立与别的接点的联系 没有协议
传输层 提供端对端的接口 TCP,UDP
网络层 为数据包选择路由 IP,ICMP,RIP,OSPF,BGP,IGMP
数据链路层 传输有地址的帧以及错误检测功能 SLIP,CSLIP,PPP,ARP,RARP,MTU
物理层 以二进制数据形式在物理媒体上传输数据 ISO2110,IEEE802,IEEE802.2
@yzhang-gh
Copy link
Owner

我记得只有特定的字体会把中文显示为两个空格宽吧,这样即使我把中文看作两个空格,对于一般的字体仍然不能对齐。。。

Microsoft/vscode #14589

@yzhang-gh yzhang-gh added Issue: Enhancement Improvements in existing features. Help wanted Looking for help. labels Aug 1, 2017
@yzhang-gh
Copy link
Owner

如果只是要求中文字符两格宽的话倒没什么问题,请提前尝试一下 v0.8.2

@yzhang-gh yzhang-gh removed the Help wanted Looking for help. label Aug 1, 2017
@yingqiangyu
Copy link
Author

试了新版本,原来的好些,中英文的宽度不一样,应该是显示的字体中英文不一样宽占主要原因

@yzhang-gh
Copy link
Owner

yzhang-gh commented Aug 1, 2017

你可以尝试一下这个字体 Inziu losevka配合版本 v0.8.1 效果很好,要使用 v0.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Enhancement Improvements in existing features.
Projects
None yet
Development

No branches or pull requests

2 participants