View previous topic :: View next topic |
Author |
Message |
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Thu Jun 19, 2003 2:18 pm Post subject: Square kde fonts PART 2 (check foto). |
|
|
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 k
FOTO
Anybody knows a fix (beside emerge kde ) _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Thu Jun 19, 2003 6:47 pm Post subject: |
|
|
................ _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
metalac Apprentice
Joined: 21 Aug 2002 Posts: 191 Location: Seattle, USA
|
Posted: Thu Jun 19, 2003 7:10 pm Post subject: |
|
|
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 |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sat Jun 21, 2003 12:33 pm Post subject: |
|
|
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......
Same problem...... so i was .
I deleted the ./kde* directories in my home dir, restarted kde, and
got the chance to config kde so i was ( ) so i started konq,
typed https://forums.gentoo.org and got ( ) because i got the same [ ] 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.... _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Sat Jun 21, 2003 1:32 pm Post subject: |
|
|
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 |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sat Jun 21, 2003 9:39 pm Post subject: |
|
|
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 |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
|
Back to top |
|
|
carlito n00b
Joined: 29 May 2003 Posts: 51 Location: Puerto Rico
|
Posted: Sat Jun 21, 2003 11:48 pm Post subject: |
|
|
Try running following command line as root user fc-cache i hope this help you. _________________ Living la vida Linux |
|
Back to top |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sun Jun 22, 2003 12:28 pm Post subject: |
|
|
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.
_________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sun Jun 22, 2003 12:42 pm Post subject: |
|
|
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( the movie get it) fc-cache -fv ,but things went back to the old setting scaled but [ ] 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 |
|
|
MrMaddog n00b
Joined: 25 Mar 2003 Posts: 10
|
Posted: Sun Jun 22, 2003 1:14 pm Post subject: |
|
|
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 |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Sun Jun 22, 2003 1:29 pm Post subject: |
|
|
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 |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sun Jun 22, 2003 4:35 pm Post subject: |
|
|
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 |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sun Jun 22, 2003 5:04 pm Post subject: |
|
|
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 [ ] 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..???
And thanks for the reply.
If you have something to add or a permenent fix let me know. _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
MrMaddog n00b
Joined: 25 Mar 2003 Posts: 10
|
Posted: Sun Jun 22, 2003 5:20 pm Post subject: |
|
|
The Dark wrote: |
where are the originals in the portage dir..???
And thanks for the reply.
If you have something to add or a permenent fix let me know. |
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 |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sun Jun 22, 2003 5:26 pm Post subject: |
|
|
MrMaddog wrote: | The Dark wrote: |
where are the originals in the portage dir..???
And thanks for the reply.
If you have something to add or a permenent fix let me know. |
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 _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
|