text rendering in qt 4.8.4 -


मैं QGraphicsTextItem बनाऊँ और इसे घुमाएं। मैं प्रतिपादन झंडे का उपयोग

  mMapView-> setRenderHints (QPainter :: Antialiasing | QPainter :: TextAntialiasing);   

लेकिन टेक्स्ट आइटम केवल तब ही देख रहा है जब घूमता नहीं।

 यहां छवि विवरण दर्ज करें

इसे ठीक कैसे करें?

थानक्स!

यह थोड़ा सा मुश्किल है। मुझे लगता है कि आप विंडोज के तहत काम कर रहे हैं।

आपको फ़ाइल ... \ src \ gui \ text \ qfont_p.h में डिफ़ॉल्ट हिंटिंग को बदलना होगा 75 से >

  ... hintingPreference (QFont :: PreferNoHinting)   

फिर आपको क्यूटी लाइब्रेरी को डायरेक्टवर्इट के साथ कॉन्फ़िगर और संकलित करना होगा।

 < कोड> कॉन्फ़िगर करें- opens -debug-and-release -directwrite nmake   

(यह समाधान Windows XP के साथ काम नहीं करता है)

Comments

Popular posts from this blog

php - How to filter values fetched from database on the basic of comma included? -

excel vba - How to delete Solver(SOLVER.XLAM) code -

c# - Add Image in a stackpanel based on textbox input -