Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt4 (Ubuntu 12.04) no space between chars

    General and Desktop
    4
    10
    4449
    Loading More Posts
    • 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
      abbat81 last edited by

      !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 Reply Quote 0
      • M
        messi last edited by

        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 Reply Quote 0
        • T
          tobias.hunger last edited by

          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 Reply Quote 0
          • J
            Jens last edited by

            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 Reply Quote 0
            • A
              abbat81 last edited by

              [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 Reply Quote 0
              • A
                abbat81 last edited by

                [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 Reply Quote 0
                • M
                  messi last edited by

                  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 Reply Quote 0
                  • A
                    abbat81 last edited by

                    [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 Reply Quote 0
                    • M
                      messi last edited by

                      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 Reply Quote 0
                      • A
                        abbat81 last edited by

                        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 Reply Quote 0
                        • First post
                          Last post