Qt4 (Ubuntu 12.04) no space between chars
-
!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.
-
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.
-
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 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? -
[quote author="Juergen_M" date="1364927766"]Ok I have tested your test.
I used LUbuntu12.10 and Qt.4.8.4Nop. 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. -
Very simple. Download the qt source from here:
http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.4.tar.gzI 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 -
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)!