1

I am currently extending 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?

IslandCow
  • 3,412
  • 3
  • 19
  • 24
  • I'm currently trying to force font-size after accepting a style string but it doesn't seem to be doing anything. Does anybody know _when_ foreign characters cause a QLabel to take a default style? – IslandCow Aug 26 '11 at 23:00
  • Currently using a stylesheet to set pixel size, weight, and font-family. All text can be rendered, but all the weight and sizing is lost. – IslandCow Aug 29 '11 at 17:11
  • As a work around, I have found that adding setting the application font to something with the appropriate writing system support works. – IslandCow Aug 29 '11 at 19:56

1 Answers1

0

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.

IslandCow
  • 3,412
  • 3
  • 19
  • 24