FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

can FiraCode display chinese?

Open anlexN opened this issue 8 years ago • 6 comments

sometimes i see it can, sometimes i see it can not

anlexN avatar Jun 30 '18 08:06 anlexN

there is no chineese in Fira code, what you see is probably a fallback font

On Sat, Jun 30, 2018, 11:28 anlex N [email protected] wrote:

sometimes i see it can, sometimes i see it can not

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tonsky/FiraCode/issues/620, or mute the thread https://github.com/notifications/unsubscribe-auth/AARabI3fab267LKUHh5J0J4Zad6YgMqiks5uBzbLgaJpZM4U95PF .

tonsky avatar Jun 30 '18 12:06 tonsky

Every chinese characters (or full-width characters)'s width are 1.0, but every characters's width in FiraCode is 0.6, and it cannot be aligned when it has 1 full-width characters in other font (like Noto Sans Mono CJK and Noto Sans CJK) and 2 characters in FiraCode. For example: In notepad++ with FiraCode and fallback font Microsoft JhengHei default Every 6 full-width characters would be aligned with 10 half-width characters but not 12.

So can release a version of FiraCode with 0.5 width of every characters?

yjlin0224 avatar Jul 09 '18 02:07 yjlin0224

Well, it’s only the case for that particular chinese font, it wouldn’t solve problem in general. Also, changing character width would be lots of work which I’m not equipped to do, sorry

tonsky avatar Jul 09 '18 06:07 tonsky

I use FiraCode in VsCode and NetBeans,vscode is able to display chinese,but netbeans cannot.

yuanjun-liu avatar Sep 18 '18 01:09 yuanjun-liu

I use FiraCode in VsCode and NetBeans,vscode is able to display chinese,but netbeans cannot.

You may need to set secondary font in your IDE or use another font that supports cjk characters driectly like Inziu Iosevka and Sarasa Gothic.

yjlin0224 avatar Sep 18 '18 04:09 yjlin0224

For Japanese, I found this solution for NetBeans : RictyDiminished-with-FiraCode

Zefling avatar Mar 22 '19 03:03 Zefling