LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , , , , ,

Reply
 
Thread Tools
Old 04-25-2009, 04:29 PM   #1
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16
Thanked: 0
Question problem with TrueType TTF fonts - got only squares, cant read anything


[Log in to get rid of this advertisement]
hi

i have this problem with ttf fonts, after i have copied it to:
/usr/share/fonts/truetype/msfonts/ (chmod 644)
then fc-cache -fv and when i have selected it i got this:
http://img401.imageshack.us/img401/7...shotresize.png

well i could go and select back to some normal fonts and X would work with them, but then all of the fonts in my browser had disappeared (e.g. web is without any text) so i cannot browse the web at all. and also icedove (thunderbird) crashes after like 3 seconds from start.

i remember i solved this problem once, but i cant remember the solution. i would like to use ttf because the web and pretty much everything looks better to me.

i have Debian Testing, before i got Sid unstable and got no problem with fonts they worked perfectly after solving that problem with squares.

thanks in advance for help!
soa is offline  
Tag This Post , , , , , , ,
Reply With Quote
Old 04-25-2009, 04:41 PM   #2
weibullguy
PackManUtil Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Cross Linux from Scratch, Gentoo
Posts: 2,343
Blog Entries: 1
Thanked: 60
That's generally a pango problem. You probably don't have a pango.modules file or it's outdated. Try executing, as root,
Code:
mv -v /etc/pango/pango.modules{,_old}
pango-querymodules > /etc/pango/pango.modules
weibullguy is offline     Reply With Quote
Old 04-25-2009, 04:56 PM   #3
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16
Thanked: 0

Original Poster
Code:
 mv -v /etc/pango/pango.modules{,_old}
mv: cannot stat `/etc/pango/pango.modules': No such file or directory

pango-querymodules > /etc/pango/pango.modules
-su: pango-querymodules: command not found
i got this :/
soa is offline     Reply With Quote
Old 04-25-2009, 05:29 PM   #4
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16
Thanked: 0

Original Poster
so i have finally got idea to run icedove in terminal so i could get some fail log
here it is:
Code:
(gecko:2858): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Tahoma 19.1982421875'

(gecko:2858): Pango-WARNING **: font_font status is: <unknown error status>

(gecko:2858): Pango-WARNING **: scaled_font status is: out of memory

(gecko:2858): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Tahoma 12'

(gecko:2858): Pango-WARNING **: font_font status is: <unknown error status>

(gecko:2858): Pango-WARNING **: scaled_font status is: out of memory

(gecko:2858): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Tahoma 10.1982421875'

(gecko:2858): Pango-WARNING **: font_font status is: <unknown error status>

(gecko:2858): Pango-WARNING **: scaled_font status is: out of memory
/usr/lib/icedove/run-mozilla.sh: line 131:  2858 Segmentation fault      "$prog" ${1+"$@"}
soa is offline     Reply With Quote
Old 04-25-2009, 06:42 PM   #5
weibullguy
PackManUtil Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Cross Linux from Scratch, Gentoo
Posts: 2,343
Blog Entries: 1
Thanked: 60
Well, now you have something to Google
Code:
failed to create cairo scaled font
Wouldn't be surprised that if you remove the offending font, the problem will go away.
weibullguy is offline     Reply With Quote
Old 04-25-2009, 07:13 PM   #6
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16
Thanked: 0

Original Poster
of course it went. but then i can't use TTF and i want to. simply that does not solves my problem. these linux default fonts now that i have. that is unusable for me.
soa is offline     Reply With Quote
Old 04-25-2009, 09:14 PM   #7
weibullguy
PackManUtil Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Cross Linux from Scratch, Gentoo
Posts: 2,343
Blog Entries: 1
Thanked: 60
You're only having problems (at least as far you know) with the Tahoma font, not all TTF fonts. Just remove the Tahoma font and keep the others. Unless the Tahoma font is the particular TTF font you want. Then Google the error message and see what you find.
weibullguy is offline     Reply With Quote
Old 04-26-2009, 07:32 AM   #8
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16
Thanked: 0

Original Poster
tahoma is one i want. well i googled...havent found anything that worked

i believe this is becuase of this version of debian.
soa is offline     Reply With Quote
Old 04-26-2009, 07:11 PM   #9
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16
Thanked: 0

Original Poster
so after fresh clean reinstall (got lots of other problems with other stuff too)
i have managed to install msttcorefonts from repositories. before i was a bit reluctant to do it because i knew that there were couple fonts missing (tahoma for example). but anyways i have installed it then i found a link to some tahoma original from M$ web. downloaded that put it in the same folder where msttcorefonts are (/usr/share/fonts/truetype/msttcorefonts/ and it worked flawlessly.

so i have checked those old ones i got from my windows. they have different size so maybe they where some kind of different from the originals hmm. so changing from those fonts to origs helped to solve this.
soa is offline     Reply With Quote
Old 04-26-2009, 07:15 PM   #10
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16
Thanked: 0

Original Poster
yeah and i have also upgraded from testing squeeze (becuase i though this is new unstable after sid) to real unstable
soa is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
[Console] an xterm type with ttf fonts as fonts ? frenchn00b Linux - Desktop 1 08-04-2007 05:32 PM
K3B has no fonts, just squares benjalien Linux - Software 3 03-02-2007 07:39 AM
GNOME with No Fonts,only Squares deepclutch Linux - Software 2 12-24-2006 11:42 AM
KDE fonts are only squares thordahl Linux - Desktop 5 11-02-2006 09:13 AM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 07:41 AM


All times are GMT -5. The time now is 06:27 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration