开发者

How does Qt handle label style with an invalid font family?

开发者 https://www.devze.com 2023-03-30 16:57 出处:网络
I am currently ext开发者_C百科ending a Qt application written for the United States for use in Korea and China.I have used Qt Linguist with great success but some strings have lost all their styling.S

I am currently ext开发者_C百科ending a Qt application written for the United States for use in Korea and China. I have used Qt Linguist with great success but some strings have lost all their styling. Specifically, they have lost their weight and size.

If Qt tries to print a string with characters not supported in the font family, does it get the default style?


It seems that the best way to handle fonts in internationalized applications is to choose a font based on the chosen language as there are very few fonts with adequate character set coverage.

0

精彩评论

暂无评论...
验证码 换一张
取 消