LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-22-2009, 09:20 AM   #1
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
Font antialiasing of qt3 apps in slack64


Hi!
I've installed latest kde3 compatibility packages in my slackware64 installation, got everything working fine exept there is no font antialiasing in qt3 application menus - qtconfig(qt3) or opera for example.
How to turn on font antialiasing of qt3 apps in kde4?

My ~/.fonts.conf contains:

Code:
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
Thanks!
 
Old 07-09-2009, 03:11 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
bump ... I'd also like to know, if for nothing else than "xconfig"
 
Old 08-29-2009, 04:01 PM   #3
stratus
LQ Newbie
 
Registered: Aug 2009
Location: Brazil
Distribution: Slackware64 Current
Posts: 1

Rep: Reputation: 0
Hi!

I had the same problem with my Slackware64 Current.

I solved this problem downloading the "compat/qt3.3" source and the slackbuild script from slackware64-current ftp (aka Slackware64 13.0 by now):

ftp://ftp.slackware.no/pub/linux/sla...e3-compat/qt3/

I rebuild the qt3.3 package for my system and got my QT3 fonts with antialiasing!


Good luck
 
Old 09-01-2009, 05:54 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
The OP said he already installed ./kde3-compat/ files, and still has no antialiasing.

I've since changed the system (no Qt or KDE on it at all), but before that there was
no antialiasing even with the packages in that directory in ./extra.

Did you rebuild freetype or anything else? Maybe post your SlackBuild for the package(s)?

The one thing I miss from Qt is using "make xconfig" for building custom kernels. That
side-by-side layout and superior search function has me spoiled.
 
Old 09-01-2009, 11:05 AM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
I just rebuilt the package that stratus mentioned and this worked for me.

samac
 
Old 09-01-2009, 06:02 PM   #6
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Original Poster
Rep: Reputation: 56
I haven't checked this solution yet because i'm not currently using any qt3 apps in slack13, but i marked this as SOLVED nevertheless, considering these two success stories posted here.

Thanks, people!
 
Old 09-01-2009, 06:05 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by samac View Post
I just rebuilt the package that stratus mentioned and this worked for me.

samac
Why did you rebuild it, and what options were different in your build than the Slackware build?
 
Old 09-02-2009, 03:06 AM   #8
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Quote:
Why did you rebuild it, and what options were different in your build than the Slackware build?
I made no changes I just ran the script, so I have no idea why it would make a difference, but it does.

samac
 
Old 09-02-2009, 04:49 AM   #9
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,790

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
Hi,

I can confirm this. The shared library libqt-mt.so.3.3.8 extracted from qt3-3.3.8b-x86_64-opt2.txz does NOT link against libXcursor.so.1, libXft.so.2, libXinerama.so.1, libXrandr.so.2, libXrender.so.1, libexpat.so.1, libfontconfig.so.1, and libfreetype.so.6, while the same library extracted from the 32-bit package qt3-3.3.8b-i486-opt1.txz does.

But a rebuilt package, built from the same Slackbuild on a final Slackware64-13.0, does link to those libraries.
 
Old 09-02-2009, 06:35 AM   #10
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
Quote:
Originally Posted by Petri Kaukasoina View Post
Hi,

I can confirm this. The shared library libqt-mt.so.3.3.8 extracted from qt3-3.3.8b-x86_64-opt2.txz does NOT link against libXcursor.so.1, libXft.so.2, libXinerama.so.1, libXrandr.so.2, libXrender.so.1, libexpat.so.1, libfontconfig.so.1, and libfreetype.so.6, while the same library extracted from the 32-bit package qt3-3.3.8b-i486-opt1.txz does.

But a rebuilt package, built from the same Slackbuild on a final Slackware64-13.0, does link to those libraries.
Good seeing~ I think you can mail your discovery to Pat.
 
Old 09-03-2009, 04:29 AM   #11
dlee99
LQ Newbie
 
Registered: Mar 2006
Location: Berkel en Rodenrijs
Distribution: Slackware64-current
Posts: 21

Rep: Reputation: 2
Hi all,

I rebuilt qt3 from the sources as suggested but I still have ugly menufonts in Opera and K3b3
Should I change some other config to enable anti-aliasing?

Is there some way to check if the shared library libqt-mt.so.3.3.8 I used is built against the libs mentioned in Petri's post?
 
Old 09-03-2009, 10:09 AM   #12
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
Quote:
Originally Posted by dlee99 View Post
Hi all,

I rebuilt qt3 from the sources as suggested but I still have ugly menufonts in Opera and K3b3
Should I change some other config to enable anti-aliasing?

Is there some way to check if the shared library libqt-mt.so.3.3.8 I used is built against the libs mentioned in Petri's post?
try ldd /opt/kde3/lib64/qt3/lib/libqt-mt.so.3.3.8

And just to note, somehow just by running the build script to remake the qt3 package, I checked my old libqt-mt.so.3.3.8 before updating it and now it shows the links to the libraries mentioned above. Now how does that figure?
 
Old 09-03-2009, 11:42 AM   #13
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,790

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
Quote:
Originally Posted by octoberblu3 View Post
And just to note, somehow just by running the build script to remake the qt3 package, I checked my old libqt-mt.so.3.3.8 before updating it and now it shows the links to the libraries mentioned above. Now how does that figure?
qt3.SlackBuild doesn't build the package in some subdirectory of /tmp as usual but in /opt/kde3/lib64/qt3. And it doesn't clean the place afterwards, leaving the source code tree and object files there, too. After building the package, you might want to first removepkg qt3, then rm -rf /opt/kde3/lib64/qt3, and then installpkg the new package again.
 
Old 09-03-2009, 01:43 PM   #14
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
Quote:
Originally Posted by Petri Kaukasoina View Post
qt3.SlackBuild doesn't build the package in some subdirectory of /tmp as usual but in /opt/kde3/lib64/qt3. And it doesn't clean the place afterwards, leaving the source code tree and object files there, too. After building the package, you might want to first removepkg qt3, then rm -rf /opt/kde3/lib64/qt3, and then installpkg the new package again.
That would explain it. Thanks. And the rebuild worked great for me. I now have mythtv-0.21 running with everything looking correct as before. Maybe I'll clean up my scripts for myth and submit them to SlackBuilds.
 
Old 09-03-2009, 04:54 PM   #15
dlee99
LQ Newbie
 
Registered: Mar 2006
Location: Berkel en Rodenrijs
Distribution: Slackware64-current
Posts: 21

Rep: Reputation: 2
Quote:
Originally Posted by octoberblu3 View Post
try ldd /opt/kde3/lib64/qt3/lib/libqt-mt.so.3.3.8
Well...output gives

Code:
linux-vdso.so.1 =>  (0x00007fff788a0000)
	libmng.so.1 => /usr/lib64/libmng.so.1 (0x00007f9bd3b38000)
	libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f9bd3915000)
	libpng.so.3 => /usr/lib64/libpng.so.3 (0x00007f9bd36d5000)
	libz.so.1 => /usr/lib64/libz.so.1 (0x00007f9bd34c1000)
	libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f9bd323f000)
	libXmu.so.6 => /usr/lib64/libXmu.so.6 (0x00007f9bd3026000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f9bd2e14000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f9bd2ada000)
	libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f9bd28d1000)
	libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f9bd26b6000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f9bd24b1000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9bd2295000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f9bd1f8e000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f9bd1d08000)
	libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f9bd1af1000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f9bd1781000)
	liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00007f9bd1548000)
	libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f9bd1343000)
	libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f9bd1141000)
	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f9bd0f3b000)
	libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f9bd0d31000)
	libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007f9bd0ace000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f9bd08b2000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f9bd06ad000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f9bd04ab000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9bd47dc000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f9bd02a2000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f9bd009f000)
So the libs Petri mentions are missing

Which sources exactly do I have to download to build?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt4 and font antialiasing not working on 12.2.0 freejack Slackware 2 01-01-2009 02:30 PM
No font antialiasing after update to GTK+ 2.10.4 AntZero Slackware 10 09-27-2006 01:29 AM
font antialiasing gone after installing a new theme venkatrao Linux - General 1 05-07-2005 01:07 AM
Font rendering ugly without antialiasing spidernik84 Fedora 1 03-18-2004 09:37 PM
Mozilla Font Antialiasing? Crickit Linux - Software 3 04-10-2003 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration