LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-01-2004, 12:51 AM   #16
mangus
LQ Newbie
 
Registered: Mar 2004
Distribution: slackware current
Posts: 7

Rep: Reputation: 0
Talking


I SOLVED my problem.
this is what I think my problem was:
I have manually installed some fonts in a new folder (NOT of the X fonts packages) some times ago and used this fonts with many applications(kde, opera..etc)
I think that X upgrade don't recognize and setup this new folder correctly.
I have to exit from X server and editing /etc/fonts/font.conf to put my new folder in. This file configures the fc-cache command.
Try put your new fonts directory(s) in this xml file and rerun fc-cache out from X server and restart X.
Hope this helps , let me know
 
Old 04-08-2004, 08:17 PM   #17
skedit
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
If you want XFree86 4.4 to support truetype perfectly,should do as the followings:
1. get xfree86 4.4 src files,change include/freetype/config/ftoption.h,
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
change xc/config/cf/xf86site.def,uncomment about BYTECODE_INTERPRETER

2.recompile xfre86 4.4


if you see the wide spaced fonts,you should add the followings to /etc/fonts.conf

<match target="font">
<test name="family"><string>SimSun</string></test>
<edit name="spacing"><int>0</int></edit>
</match>

SimSun is your truetype font name,you can change it to yours.
the important item is
<edit name="spacing"><int>0</int></edit>

spacing should be 0.
 
Old 04-09-2004, 04:16 PM   #18
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
skedit
that last tip about spacing is spot on, thanks a lot.
I dont think you really meant truetype, however, as the spacing problem seems to occur on non-truetype fonts such as helvetica,charter,lucida,utopia etc.
I actually put your addition in ~/fonts.conf for helvetica and it works perfectly.
What I want to know is how did xfree86 4.4 break what worked ok before?
Did you trawl through fontconfig docs to work that out?
cheers
tobyl
 
Old 04-11-2004, 01:18 AM   #19
skedit
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
tobyl:

I have seen the followings in /etc/fonts.conf:

Some Asian fonts misadvertise themselves as monospaced when
in fact they are dual-spaced (half and full). This makes
FreeType very confused as it forces all widths to match.
Undo this magic by disabling the width forcing code -->

then I read /usr/X11R6/share/doc/fontconfig/fontconfig-user.html
roman slant 0
italic slant 100
oblique slant 110
proportional spacing 0
dual spacing 90
mono spacing 100
charcell spacing 110
unknown rgba 0
rgb rgba 1
bgr rgba 2
vrgb rgba 3
vbgr rgba 4
none rgba 5

but in fc-cache.1 file,spacing is 90. so I change fonts.conf and force spacing to 0.
 
Old 04-11-2004, 12:53 PM   #20
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
thanks skedit.
I have managed to get a satisfactory setup now, even without recompiling Xfree, using your tip. I was annoyed with myself for not finding the answer on my own.
thanks again.
 
Old 04-17-2004, 04:18 PM   #21
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
The new build of xfree86 4.4.0 fixed this issue for me.

-Joey
 
  


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
Fonts messed up in Steam GT_Onizuka Linux - Games 3 09-03-2004 07:55 PM
Fonts messed up with upgrade to XFree86 4.4 xflow7 Slackware 2 05-11-2004 01:10 PM
upgraded to Xfree86 v 4.4 -> fonts messed up EyesOnly Slackware 20 04-11-2004 09:50 AM
konqueror fonts messed up mi6alec Mandriva 2 03-06-2004 08:05 AM
Messed up fonts.. creepynut Linux - General 0 08-25-2003 01:52 AM

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

All times are GMT -5. The time now is 12:55 PM.

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