[solved] how to install new font

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
cchuang
Black ninja
Black ninja
Posts: 42
Joined: 03 Jan 2011, 06:55
Location: Taiwan

[solved] how to install new font

Post#1 by cchuang » 18 Jul 2011, 01:11

As title: we can install ttf fonts into system by [Install font]. However, is it possible to auto- installed font to system while activating xzm , including font?

Thanks in advance
Last edited by cchuang on 19 Jul 2011, 07:24, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: how to install new font

Post#2 by fanthom » 18 Jul 2011, 07:47

hi cchuang,
"is it possible to auto- installed font to system while activating xzm , including font?"
hmmm... not sure but restarting Xorg serever may be required.
will definitely dig into this request - could you provide a sample module containing a font?

Cheers
Please add [Solved] to your thread title if the solution was found.

cchuang
Black ninja
Black ninja
Posts: 42
Joined: 03 Jan 2011, 06:55
Location: Taiwan

Re: how to install new font

Post#3 by cchuang » 18 Jul 2011, 12:31

Dear fanthom:

Here could find some fonts to test:

http://diffusion.cgu.edu.tw/ftp/porteus/32bit/util/

jsmath-fonts.xzm (for Math Symbols)
odosung-1.6.xzm (Chinese fonts)
ttf-fonts.xzm (Gnome and Window core font in sourceforget)

Thanks in advance

cch
Last edited by Hamza on 18 Jul 2011, 12:36, edited 1 time in total.
Reason: Fixed link error

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: how to install new font

Post#4 by Hamza » 18 Jul 2011, 12:36

There is an error in the link,

The link is

http://diffusion.cgu.edu.tw/ftp/porteus/32bit/util/
NjVFQzY2Rg==

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: how to install new font

Post#5 by fanthom » 18 Jul 2011, 14:21

@cchuang
i need to admit that i'm still confused a little with font installation under Slackware (and probably all linuxes). as per /etc/fonts/font.conf seems that

Code: Select all

/usr/share/fonts/OTF
/usr/share/fonts/TTF
/usr/share/fonts/Type1
/usr/share/fonts/Speedo
/usr/share/fonts/cyrillic
/usr/share/fonts/misc
~/.fonts
are monitored all the time so if you remaster your modules and put all fonts in /usr/share/fonts/misc/your_font_folder they will be found automatically by the apps (sometimes restart of application may be necessary).
let me know in case of further troubles.
Please add [Solved] to your thread title if the solution was found.

cchuang
Black ninja
Black ninja
Posts: 42
Joined: 03 Jan 2011, 06:55
Location: Taiwan

Re: [solved] how to install new font

Post#6 by cchuang » 19 Jul 2011, 07:26

Thanks,

put fonts in one of the directories solves the problem.

cch

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: [solved] how to install new font

Post#7 by Hamza » 19 Jul 2011, 10:02

Topic Solved.
NjVFQzY2Rg==

Post Reply