LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-25-2009, 03:29 PM   #1
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Rep: Reputation: 0
Question problem with TrueType TTF fonts - got only squares, cant read anything


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!
 
Old 04-25-2009, 03:41 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
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
 
Old 04-25-2009, 03:56 PM   #3
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
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 :/
 
Old 04-25-2009, 04:29 PM   #4
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
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+"$@"}
 
Old 04-25-2009, 05:42 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
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.
 
Old 04-25-2009, 06:13 PM   #6
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 04-25-2009, 08:14 PM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
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.
 
Old 04-26-2009, 06:32 AM   #8
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
tahoma is one i want. well i googled...havent found anything that worked

i believe this is becuase of this version of debian.
 
Old 04-26-2009, 06:11 PM   #9
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 04-26-2009, 06:15 PM   #10
soa
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
yeah and i have also upgraded from testing squeeze (becuase i though this is new unstable after sid) to real unstable
 
  


Reply

Tags
debian, font, fonts, truetype, ttf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 11:56 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration