Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Square kde fonts PART 2 (check foto).
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Thu Jun 19, 2003 2:18 pm    Post subject: Square kde fonts PART 2 (check foto). Reply with quote

Hello there .
Yeah still haven't solved my square kde font problem yet, so trying again this time with a foto.
I emerged fluxbox, but i still get the same problems when i start any kde program.
take a l 8O 8O k
FOTO
Anybody knows a fix (beside emerge kde :lol:)
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Thu Jun 19, 2003 6:47 pm    Post subject: Reply with quote

8O 8O ................
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
metalac
Apprentice
Apprentice


Joined: 21 Aug 2002
Posts: 191
Location: Seattle, USA

PostPosted: Thu Jun 19, 2003 7:10 pm    Post subject: Reply with quote

seems like you are missing some fonts maybe? I don't use KDE, but is there some package like "kde-fonts" or something similar. Try emerging that again and see if it helps it.
_________________
>>>>> Ignorance is bliss <<<<<
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Sat Jun 21, 2003 12:33 pm    Post subject: Reply with quote

metalac wrote:
seems like you are missing some fonts maybe? I don't use KDE, but is there some package like "kde-fonts" or something similar. Try emerging that again and see if it helps it.

Hello, back again.
Now i wil like to know what fonts are missing.(everythings there)
Wel i did a emerge kde so i got the newer version of kde 3.2.??
rebooted( yes rebooted) did a startx and walla...... :x
Same problem...... :x so i was :x .
I deleted the ./kde* directories in my home dir, restarted kde, and
got the chance to config kde so i was ( :D ) so i started konq,
typed https://forums.gentoo.org and got ( 8O :( ) because i got the same [ :x ] fonts again.
Well it's an improvement because there's no square fonts on the desktop any more (i did do an emerge sharefonts) but could it be that my truetype fonts are screwed :?:
It seems that my internet fonts are screwed...
Anybody has a clue.... :wink:
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Sat Jun 21, 2003 1:32 pm    Post subject: Reply with quote

The default font, IIRC, is Helvetica. Sure as hell wouldn't blame you for deleting that - Helvetica and Freetype don't seem to play nice, so Helvetica gets no AA (I'm not talking about Microsoft's Helvetica, which does) - and seems to be totally b0rked in your installation.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Sat Jun 21, 2003 9:39 pm    Post subject: Reply with quote

tactless wrote:
The default font, IIRC, is Helvetica. Sure as hell wouldn't blame you for deleting that - Helvetica and Freetype don't seem to play nice, so Helvetica gets no AA (I'm not talking about Microsoft's Helvetica, which does) - and seems to be totally b0rked in your installation.


Thanks for the reply , but still not clear what's going on.. :?
Have a clue.. :?:
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
alinv
Guru
Guru


Joined: 19 Nov 2002
Posts: 395
Location: Bucharest

PostPosted: Sat Jun 21, 2003 10:01 pm    Post subject: Reply with quote

Have a look here:
https://forums.gentoo.org/viewtopic.php?t=40757
_________________
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B.
Back to top
View user's profile Send private message
carlito
n00b
n00b


Joined: 29 May 2003
Posts: 51
Location: Puerto Rico

PostPosted: Sat Jun 21, 2003 11:48 pm    Post subject: Reply with quote

Try running following command line as root user fc-cache i hope this help you.
_________________
Living la vida Linux
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Sun Jun 22, 2003 12:28 pm    Post subject: Reply with quote

carlito wrote:
Try running following command line as root user fc-cache i hope this help you.

Sorry carlito but this command is not helping at all.
it,s making things go back the way it was.
:cry:
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Sun Jun 22, 2003 12:42 pm    Post subject: Reply with quote

alinv wrote:
Have a look here:
https://forums.gentoo.org/viewtopic.php?t=40757


Well i've looked and tryed all but still having problems.
I deleted all fonts.* and fonts. files in my /usr/X11R6/lib/bin/fonts/
and the rest.
And tryed to surf again, this time i could see fonts, but because i deleted the scale files( i think :? ) they were not scaled so looking awfull.
So i copied my ttf files from MS-box to Gentoo box,and did the mkfontdir
and ttmkfdir thing.
Tryed Carlito's way( :lol: the movie get it) fc-cache -fv ,but things went back to the old setting scaled but [ :x ] square again.
I'm cleary missing something here but...... :? :? :?
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
MrMaddog
n00b
n00b


Joined: 25 Mar 2003
Posts: 10

PostPosted: Sun Jun 22, 2003 1:14 pm    Post subject: Reply with quote

I don't run kde, but in my system, the xfonts server (XFS) was messing up a file called fonts.dir in several of my fonts directories.
Code:
 ls -l /usr/X11R6/lib/X11/fonts/*/fonts.dir
If this shows any fonts.dir files that are 2 bytes long, something probably wiped them out. This was causing gimp 1.2.4 to not recognize the fonts in my system. The way I fixed it was buy turning off the automatic font scanning in /etc/conf.d/xfs
Code:
# If this is set to "yes", then the xfs rc-script will
# scan all the font directories in /etc/X11/fs/config for
# changes, and if any, will add the required files.  This
# may take a while on very old boxes, so set it to "no"
# if it takes too long for you.

SETUP_FONTDIRS="no"


Also you can use the command xfontsel to see what fonts your xfontserver knows about. Lastly, I had to restore the original fonts.dir files from the original package, and I even keep them around for the next time something clobbers them.

After restoring the files (if this is your problem) you might need commands like
Code:
/usr/X11R6/bin/xset fp+ /usr/X11R6/lib/X11/fonts/URW
/usr/X11R6/bin/xset fp+ /usr/X11R6/lib/X11/fonts/freefont
/usr/X11R6/bin/xset fp+ /usr/X11R6/lib/X11/fonts/sharefont
/usr/X11R6/bin/xset fp rehash
Back to top
View user's profile Send private message
alinv
Guru
Guru


Joined: 19 Nov 2002
Posts: 395
Location: Bucharest

PostPosted: Sun Jun 22, 2003 1:29 pm    Post subject: Reply with quote

The ideea was to remove the 75 and 100dpi entries in /etc/fonts/fonts.conf, not the fonts themselves.
_________________
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B.
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Sun Jun 22, 2003 4:35 pm    Post subject: Reply with quote

alinv wrote:
The ideea was to remove the 75 and 100dpi entries in /etc/fonts/fonts.conf, not the fonts themselves.

No i did not delete the fonts but the fonts.dir and fonts.scale files.
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Sun Jun 22, 2003 5:04 pm    Post subject: Reply with quote

MrMaddog wrote:
I don't run kde, but in my system, the xfonts server (XFS) was messing up a file called fonts.dir in several of my fonts directories.
Code:
 ls -l /usr/X11R6/lib/X11/fonts/*/fonts.dir
If this shows any fonts.dir files that are 2 bytes long, something probably wiped them out. This was causing gimp 1.2.4 to not recognize the fonts in my system. The way I fixed it was buy turning off the automatic font scanning in /etc/conf.d/xfs
Code:
# If this is set to "yes", then the xfs rc-script will
# scan all the font directories in /etc/X11/fs/config for
# changes, and if any, will add the required files.  This
# may take a while on very old boxes, so set it to "no"
# if it takes too long for you.

SETUP_FONTDIRS="no"


Also you can use the command xfontsel to see what fonts your xfontserver knows about. Lastly, I had to restore the original fonts.dir files from the original package, and I even keep them around for the next time something clobbers them.

After restoring the files (if this is your problem) you might need commands like
Code:
/usr/X11R6/bin/xset fp+ /usr/X11R6/lib/X11/fonts/URW
/usr/X11R6/bin/xset fp+ /usr/X11R6/lib/X11/fonts/freefont
/usr/X11R6/bin/xset fp+ /usr/X11R6/lib/X11/fonts/sharefont
/usr/X11R6/bin/xset fp rehash

Mr Maddog.
A good day to you.
ok here goes.
I checked my fonts.dir files and yes they were only 2 bytes long.
So i did a /usr/bin/X11/mkfontdir command in my truetype font dir and a made a new fonts.dir file wich showed much more than 2 bytes, and then i used the /usr/X11R6/bin/ttmkfdir to make new fonts.scale files.
Then i edit the /etc/conf.d/xfs and changed the line SETUP_FONTDIRS="YES" to SETUP_FONTDIRS="NO" (as you did),did the /usr/X11R6/bin/xset fp+ commands, but when i did the rehash part i got an error
Code:
bad font path element (#64), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

Bla bla.
so i restarted kde and it still looked the same, so i went into kde font config and did a default command and walla it workes.
No more [ :x ] square fonts.
Nows come a stupid question about this
Quote:
Lastly, I had to restore the original fonts.dir files from the original package

where are the originals in the portage dir..??? :wink:
And thanks for the reply.
If you have something to add or a permenent fix let me know. :wink:
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
MrMaddog
n00b
n00b


Joined: 25 Mar 2003
Posts: 10

PostPosted: Sun Jun 22, 2003 5:20 pm    Post subject: Reply with quote

The Dark wrote:

where are the originals in the portage dir..??? :wink:
And thanks for the reply.
If you have something to add or a permenent fix let me know. :wink:


The ones that were messing up on me were freefont sharefont and URW which came from freefonts-0.10.tar.gz, urw-fonts.tar.gz and sharefonts-0.10.tar.gz (at least for me).

For a permanent fix ??? I think the font-handling is changing. Lots of people seem to have xfont challenges... just search the forums. The steps I took seem to survive kernal updates and reboots, so that's good enough for me.

Cheers,
Mark
Back to top
View user's profile Send private message
The Dark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2003
Posts: 126
Location: BACK ON PLANET GENTOO

PostPosted: Sun Jun 22, 2003 5:26 pm    Post subject: Reply with quote

MrMaddog wrote:
The Dark wrote:

where are the originals in the portage dir..??? :wink:
And thanks for the reply.
If you have something to add or a permenent fix let me know. :wink:


The ones that were messing up on me were freefont sharefont and URW which came from freefonts-0.10.tar.gz, urw-fonts.tar.gz and sharefonts-0.10.tar.gz (at least for me).

For a permanent fix ??? I think the font-handling is changing. Lots of people seem to have xfont challenges... just search the forums. The steps I took seem to survive kernal updates and reboots, so that's good enough for me.

Cheers,
Mark

yep i think i'll hang on till something new comes up.
Thanks :wink:
_________________
-=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum