Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: kagashe on December 12, 2008, 05:17:55 AM

Title: [SOLVED] How to add fonts?
Post by: kagashe on December 12, 2008, 05:17:55 AM
I am from India and need to add ttf-indic fonts to read Indian languages sites properly. Till Firefox 2.0 I was required to use the Firefox built with pango enabled (which only Ubuntu was doing) option. With arrival of Firefox 3 the need to use pango enabled build is not required and I can use Firefox 3 on any Linux distribution provided I added the fonts.

I already have the fonts and on distributions like Puppy I create a .fonts directory and copy the fonts folder in .fonts.

I did the same thing on Tinycorelinux and it works.

kagashe
Title: Re: [SOLVED] How to add fonts?
Post by: mikshaw on December 12, 2008, 04:17:24 PM
That's very nice isn't it?
As far as I know, this is limited to Gtk (maybe even limited to Gtk2).  Those ttf fonts won't work in console, apps based solely on Xlib, and possibly the FLTK apps (depending on how FLTK was built for TC).

But it's reeeealy convenient to just pop fonts into a directory and have them automatically  available =o)
Title: Re: [SOLVED] How to add fonts?
Post by: curaga on December 13, 2008, 04:17:50 AM
Don't forget QT apps such as Opera ;)
Title: Re: [SOLVED] How to add fonts?
Post by: kagashe on December 13, 2008, 04:40:11 AM
That's very nice isn't it?
As far as I know, this is limited to Gtk (maybe even limited to Gtk2).  Those ttf fonts won't work in console, apps based solely on Xlib, and possibly the FLTK apps (depending on how FLTK was built for TC).

But it's reeeealy convenient to just pop fonts into a directory and have them automatically  available =o)
They are Indian Languages fonts and mainly required to read our websites. The fonts are also available on Leafpad to write. I have already added the Keyboad Layout Indicator/Switcher, for me it is complete system meeting my requirement.

kagashe
Title: Re: [SOLVED] How to add fonts?
Post by: Jason W on December 13, 2008, 07:03:53 AM
One tip on fonts.  There are three automatically recognized font directories in TC: /usr/share/fonts , /usr/local/share/fonts, and ~/.fonts.  Install fonts into any one of there font directories and they will be recognized by fc-cache.  Font extensions should preferably be installed into /usr/local/share/fonts.
Title: Re: [SOLVED] How to add fonts?
Post by: nao on March 31, 2009, 10:15:07 AM
Install fonts into any one of there font directories and they will be recognized by fc-cache. 
Which package should I install to do fc-cache? TCL is too compact to exec a familiar command... :'(
Title: Re: [SOLVED] How to add fonts?
Post by: curaga on March 31, 2009, 11:34:09 AM
It's in the fontconfig extension, just like it's in the fontconfig package upstream :)
Title: Re: [SOLVED] How to add fonts?
Post by: nao on April 02, 2009, 11:29:42 PM
It's in the fontconfig extension, just like it's in the fontconfig package upstream :)

Thank you curaga-san.
I now can read japanese in opera on tc. :)
Double byte characters are an essential key and a barrier for japanese. Sigh.