Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Chun Jiu on July 08, 2020, 11:13:38 am

Title: Under Ubuntu 18.04, Chinese characters are displayed incompletely
Post by: Chun Jiu on July 08, 2020, 11:13:38 am
Hi guys,

Under Windows 10, the distance between each line is more appropriate, and there is no problem with the bottom of the font.

But under ubuntu 18.04, the bottom of the Chinese characters is lost, and the content displayed is a bit crowded.

Can this line spacing be adjusted?

Please see the picture below:

Title: Re: Under Ubuntu 18.04, Chinese characters are displayed incompletely
Post by: Chun Jiu on July 08, 2020, 11:19:22 am
Hi guys,

I have found that there is a problem with the alternative font used by the system, and it is normal after being replaced with noto sans mono font.

Thanks.
Title: Re: Under Ubuntu 18.04, Chinese characters are displayed incompletely
Post by: BlueHazzard on July 08, 2020, 11:19:43 am
I think this is a property of the font. Have you tried other fonts?
Edit: So  noto sans mono font works?
Title: Re: Under Ubuntu 18.04, Chinese characters are displayed incompletely
Post by: Chun Jiu on July 08, 2020, 01:02:59 pm
I think this is a property of the font. Have you tried other fonts?
Edit: So  noto sans mono font works?

Yes, I tried it, because the default font used by the system is not a Chinese font, so it has the wrong size.

When I specified a Chinese font, this problem was solved.

Thank you for your attention, I have solved the problem.
Title: Re: Under Ubuntu 18.04, Chinese characters are displayed incompletely
Post by: Chun Jiu on July 08, 2020, 01:06:19 pm
Edit: So  noto sans mono font works?

Yes, I specified "Noto sans mono CJK SC", which is a Chinese font. The display of the font is correct.