LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xine-ui and font problem. (https://www.linuxquestions.org/questions/linux-software-2/xine-ui-and-font-problem-496151/)

Tehnoman 10-27-2006 02:38 PM

Xine-ui and font problem -> Xft problem
 
Hi to ya all! :)

For quite a time I've been messing around Linux and have learned a lot. Really like Linux stuff. In the very beggining I decided to go CLFS (Cross - Linux From Scratch) way (in my opinion - better control over the system and better education) and compiled x86_64 multilib base system on my Athlon64 3800+ machine. Later I followed BLFS (Beyond Linux From scratch) project, to compile and install some other stuff, altought that's symbolic, because BLFS project is made for x86 systems as I believe, so I couldn't follow it word-by-word, there was cases when it wouldn't work. But with "./configure --help" and google(dot)com I was able to solve these problems. But not any more. :( And that's why I came here - my problem is not directly related with BLFS.

So what is the problem? It's about xine-ui. I successfully compiled xine-lib v1.1.2 and xine-ui v0.99.4 (older releases didn't even compile). But, when I run command "xine" in my Xserver xterm window, Xine splashscreen appears, for millisecond or so appears main window, and then exits, showing me following output in xterm window:

This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
xiTK WARNING(xitk_font_load_font:725): loading font "*-helvetica-*-*-*-12-*-*-*-*-*-*-*" failed, default and system fonts "(null)" and "fixed" failed too
xiTK WARNING(xitk_font_load_font:725): loading font "*-helvetica-*-*-*-12-*-*-*-*-*-*-*" failed, default and system fonts "(null)" and "fixed" failed too
xiTK WARNING(xitk_font_load_font:725): loading font "fixed" failed, default and system fonts "(null)" and "fixed" failed too
xiTK DIE: create_labelofbutton()@126: xitk_font_load_font() failed. Exiting

And that is not quite nice! I tried to find in google this output, but there was only one or two maches and in those weren't solution usable for me...
One other thing - when I compiled qt3, first I enabled Xft support, but that was disaster - running "qtconfig" showed me no sense of fonts at all. There were only square instead of letters. And so was "make xconfig" in linux-kernel source. I disabled Xft support in qt3 and woila - both "qtconfig" and "make xconfig" showed nice windows with nice, readable letters and words! :D Maybe there' something with my Xft or even X, that makes xine-ui crash? I couldn't find in xine-ui configuration it's realationships with Xft nor where to turn it off (like with qt).

Where should I look? Where could be problem?? I'm really stuck, If any additional information, logs are needed - please ask. The smallest hint is welcome!!!

P.S. I have compiled and installed Xorg v6.8.2, NVIDIA closed drivers 1.0-8776, qt v3.3.4 with gcc v4.1.1, all 64-bit. No GNOME or KDE, only stuff that came with Xorg source (twm, xterm and so on).

Anybody? :)

320mb 10-31-2006 12:07 PM

when you compiled the X-server, there were some options to install some packages, one of them was fontconfig package. did you install this on your own, OR did you have the X package do it for you???

Tehnoman 10-31-2006 01:00 PM

Yes, I installed fontconfig on my own. I followed the BLFS instructions:
www(dot)linuxfromscratch(dot)org/blfs/view/stable/general/fontconfig.html
And compiled/installed Fontconfig-2.3.2.

I also had this line in host.def configfile, when I was compiling Xorg:
#define HasFontConfig YES

As I understood, Xorg should use my own installed fontconfig.

One more thing - I compiled fontconfig for both arch, 32bit and 64bit. Last was 64bit build, so all binarys are 64bit, only 32bit thing is library located in /usr/lib. Could it be, that Xorg compiled agaisnt wrong, 32bit one?

Btw, sorry about (dot) stuff, I can't post links yet... :rolleyes:

Tehnoman 11-02-2006 09:43 AM

I also checked binarys of fontconfig (fc-), all was present. An when I compile, it shoud give me error if linking agaist 32bit librarys, but that didn't happen... So where could be the problem? 320mb, you have a version?

Tehnoman 12-01-2006 11:21 AM

Huh.. Hi to ya all again!

Recently I solve this problem and now I have fully functional 64bit Xine-ui! :) And how? Fairly simple - when I compiled Xine-ui, I disabled "Xft font antialiasing" (If I remember correct, pne thing for sure - it was undobtedly related to Xft). And it worked!!! :D I added this information here, in case if someone gets to same problem.

Anyway, after this I suppose something wrong is with Xft, 'couse Qt (3.3.4 and 3.3.7) has problems with it too (As I mentioned before). For now everything works just disabling it, but I feel that in future I could have problems with it.

Any thoughts, what could be wrong with my Xft??? No errors while compiling, of course...

Xft version 2.1.11
Btw, this time I compiled Xorg v7 from source, put together all libraries and apps step-by-step.


All times are GMT -5. The time now is 10:18 PM.