Home > Mobile >  QPainter drawtext in '0', '8' similar characters have round, shows not round?
QPainter drawtext in '0', '8' similar characters have round, shows not round?

Time:10-02

QPainter drawtext in '0', '8' similar characters have round, running on the computer display is normal, but after shifted to the development board, display the '0', '8' character is not round? This is what pay attention to? Thank you
Version: QT4.8

CodePudding user response:

In different fonts, different font is different the shape of the letters and Numbers,

CodePudding user response:

What is the font library?

CodePudding user response:

This is decided by the local font, try using other font,

CodePudding user response:

Look at what font support in the development board?

CodePudding user response:

/* set anti-aliasing */
Painter. SetRenderHint (Antialiasing, true);
  •  Tags:  
  • Qt
  • Related