Qt blur font when use custom font



  •    My app need to use custom font, when I use QPainter to draw Text(I set Antialiasing && TextAntialiasing),  anti-alias is so bad . But when I use Gdiplus draw the text,  there is no problem.  
       When I try to use gdiplus in place of  QPainter to draw on QWidget, but I find the widget and its child both  cannot be semi-transparent.
       How can I do? Does Qt has any effective methods? Or better combine with gdiplus?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Do you mean QFontDatabase to add your font and then use QPainter as usual ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.