Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt blur font when use custom font

Qt blur font when use custom font

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 617 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vilas_wang
    wrote on last edited by
    #1
       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?
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved