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. Qt4 (Ubuntu 12.04) no space between chars
QtWS25 Last Chance

Qt4 (Ubuntu 12.04) no space between chars

Scheduled Pinned Locked Moved General and Desktop
10 Posts 4 Posters 4.9k Views
  • 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.
  • A Offline
    A Offline
    abbat81
    wrote on last edited by
    #1

    !http://s017.radikal.ru/i432/1304/cc/99e9ef541695.png(Sample)!

    I could not find any solution of this problem in Google.

    In Ubuntu 11.10 Qt4 looks perfect, like Qt3 on the attached picture.
    That problem for any font in Qt4.
    How to fix Qt4 rendering of a fonts?

    Thanks.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      messi
      wrote on last edited by
      #2

      Hi Abbat81,

      I couldn't see any problems on this image.
      Do you have an image which shows you mentioned problem?

      I haven't encountered any problems with ubuntu12.04 and Qt4.x

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Try with a Qt version from the download page here. Does it happen with that version, too?

        If that works, you will need to file a bug with ubuntu.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jens
          wrote on last edited by
          #4

          You most likely did not have the correct dependencies when compiling Qt. Make sure configure doesn't report anything missing related to fonts, x11 or graphics. For ubuntu I would suggest simply installing libgtk2.0-dev packages in order to get the build dependencies needed for gtk style and other things.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            abbat81
            wrote on last edited by
            #5

            [quote author="Juergen_M" date="1364896789"]Hi Abbat81,

            I couldn't see any problems on this image.

            [/quote]

            Is it normal if there is no space between letters?
            Maybe you should open image in a new tab to see a problem.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              abbat81
              wrote on last edited by
              #6

              [quote author="Jens" date="1364899227"]You most likely did not have the correct dependencies when compiling Qt. Make sure configure doesn't report anything missing related to fonts, x11 or graphics. For ubuntu I would suggest simply installing libgtk2.0-dev packages in order to get the build dependencies needed for gtk style and other things.[/quote]

              Thanks for reply.
              How can I fix it?
              How can I reinstall qt4?

              1 Reply Last reply
              0
              • M Offline
                M Offline
                messi
                wrote on last edited by
                #7

                Ok I have tested your test.
                I used LUbuntu12.10 and Qt.4.8.4

                Nop. Every font is shown correctly.
                The only difference in my test is that I have build Qt4.8.4 by myself.
                So the problem can be in the Ubuntu build version as Tobias mentioned

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  abbat81
                  wrote on last edited by
                  #8

                  [quote author="Juergen_M" date="1364927766"]Ok I have tested your test.
                  I used LUbuntu12.10 and Qt.4.8.4

                  Nop. Every font is shown correctly.
                  The only difference in my test is that I have build Qt4.8.4 by myself.
                  So the problem can be in the Ubuntu build version as Tobias mentioned[/quote]

                  I get that bug in Lubuntu 12.04.
                  It's realy problem of Qt4 build in Ubuntu.
                  I had used QT4 in Lubuntu 11.10 and it's perfect.

                  Is it possible to get tutorial to make own Qt4 build?
                  Thanks.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    messi
                    wrote on last edited by
                    #9

                    Very simple. Download the qt source from here:
                    http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.4.tar.gz

                    I usually extract it in /usr/local

                    tar xvfz qt-everywhere-opensource-src-4.8.4.tar.gz -C /usr/local

                    cd /usr/local/qt-everywhere-opensource-src-4.8.4

                    ./configure -qt-xcb -qt-png

                    The following the instruction show in the terminal

                    Thats it.
                    You need to install some tools before with apt-get install, like autotools, bison, yacc, bison etc

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      abbat81
                      wrote on last edited by
                      #10

                      Finally I got solution.
                      Yes!

                      Only one thing was needed - to kill "file:///etc/fonts/conf.d/10-hinting-slight.conf"

                      The reason:

                      The bad font:

                      !http://s019.radikal.ru/i616/1304/a4/276c2ce39d6f.png(Bad Font)!

                      The good font:
                      !http://s004.radikal.ru/i208/1304/53/da48e9a8ffc9.png(Good Font)!

                      Large buttons:

                      !http://s42.radikal.ru/i098/1304/59/e3ff5a9a7ad2.png(large buttons)!

                      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