tried to run qtconfig to see if I could get the fonts to render and
there got a segmentatoin fault in loadFontConfigFont which makes me
think there may be some incompatibility with my system fonts. Interestingly enough the fonts render in non-qt X applications. Is
there a standard font set that I should be installing??  Right now I
have what came with my linux kernel (2.6.8.1) and Xorg (6.8.2).  Looks
like qt might have come with its own as well.

On Apr 5, 2005 6:25 PM, Craig Colton <meerkats at bellsouth.net 
<http://linuxfromscratch.org/mailman/listinfo/blfs-support>> wrote:
/ On Monday 04 April 2005 09:33 pm, Devan Lippman wrote:
/>/ > Hi,
/>/ >
/>/ > I installed QT 3.3.4 on my system recently and in testing to see if it
/>/ > ran properly I executed the hello example.  The problem is the label
/>/ > text did not appear to render correctly, rather it replaced all
/>/ > letters with squares (I've attached a screen capture).  Tried this
/>/ > with other QT examples to have the same results (all text but window
/>/ > title is squares).  It appears from the QT whitepaper that fonts are
/>/ > rendered internally, which explains why other X applications do not
/>/ > have this issue, but leaves me stuck on where to look next?
/>/ >
/>/ > here's some information on my configuration:
/>/ > Distro: Linux from scratch 6.0
/>/ > kernel: 2.6.8.1
/>/ > gcc: 3.4.1
/>/ > glib: 1.2.10
/>/ > Xorg: 6.8.2
/>/ > GNU Make: 3.80
/>/ > Source tarball: qt-x11-free-3.3.4.tar.gz
/>/ />/ "hello" works fine for me running the same qt version. I think I'd try running
/>/ it as root to see if maybe there's a permissions problem.
/>/ />/ Qt probably does render fonts internally, but it still uses your system fonts
/>/ - the same that other x apps use.
/>/ />/ Regards,
/>/ Craig
/>/ />/ /

Hello co-listers:

Perhaps this answer arrives so late, but I've had the same problem this days
with LFS-6.0 on a eMac and on a HP Omnibook and I've found this mail
thread «googling».

I've resolved the same problem of Devan, adding the directories of fonts
specified in /etc/X11/xorg.conf to the file /etc/fonts/local.conf, i.e.:

If /etc/X11/xorg.conf says;

FontPath "/usr/X11R6/lib/font/75dpi/"

I've added to /etc/fonts/local.conf the next line inmediately before the line
who says "</fontconfig>"

<dir>/usr/X11R6/lib/font/75dpi</dir>

After this, /usr/local/qt/bin/qtconfig and /usr/local/qt/examples/hello/hello
works fine.

As root user, I've executed the command «fc-cache» to create in each directory
the file fonts.cahe and speed up the startup time of the application.

I hope this mail helps someone sometime.

Un saludo.

J.C.


--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to