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. How to turn OFF fonts antialiasing everywhere?
Forum Updated to NodeBB v4.3 + New Features

How to turn OFF fonts antialiasing everywhere?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 6.1k 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.
  • J Offline
    J Offline
    jpka
    wrote on last edited by
    #1

    Hi! I'm use some Qt apps under Ubuntu 12.10 (with Gnome). I need to change their outlook. I install qtconfig (qt4-config) and it work well except that i can't turn off antialiasing of any font, displayed at main area of window (i.e., i am not about menus/interface widgets etc.). I turn off antialiasing of non-Qt apps via gnome-tweak-tool. But it has no effect on my Qt apps.
    I search this forum and other places, but find only topics how to turn on antialiasing.
    The Qt apps itself can't be modified, they are binary only, the example is Xilinx ISE Webpack 13.4.
    Can i completely switch off any antialiasing engine of my Qt ?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jpka
      wrote on last edited by
      #2

      I still not solved it. No one of multiple HOWTOs is work. No chances?..

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tktan
        wrote on last edited by
        #3

        I happen to be looking for this option and see this sniplet in here
        https://qt.gitorious.org/qt/jpasions-mobile-examples/commit/7c40149cf63877ee3d29ec34826ed2a63b4908f2

        // Disable antialias
        QFont noAA = QApplication::font();
        noAA.setStyleStrategy(QFont::NoAntialias);
        QApplication::setFont(noAA);
        

        Please try and see whether that fits your need.

        Regards,

        TTK

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nanox
          wrote on last edited by
          #4

          Edit your ~/.kde/share/config/kdeglobals
          Insert these lines:
          [General]
          XftAntialias=false
          XftHintStyle=hintmedium
          XftSubPixel=none

          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