problem with TrueType TTF fonts - got only squares, cant read anything
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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+"$@"}
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.