View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#33
mkdir -p /home/user/.fonts
mv /path/to/<fontfile>.ttf /home/user/.fonts
fc-cache -fv
sudo gainroot
/etc/init.d/maemo-launcher force-reload
mkdir makes the .fonts directory if it doesn't exist.
Next line, well it's obvious what that does.
fc-cache forces the home font cache to be reread. (in this case anyway).
sudo gainroot gets you root (if you have sudser/rootsh/becomeroot/easyroot installed) which we need for the next line.
The maemo-launcher line forces it to restart. Not doing that will not get you the font listed in most apps until a restart.
Using force-reload means that dsmetool won't go into a hissy fit and reboot the device.
Thanks zap (anpaza here I believe) for the maemo-launcher line on the #maemo irc.

From the maemo-launcher readme:
The only current useful booster module is for gtk, <cut>. This module
preinitializes components like pango and cairo.

Last edited by qwerty12; 2008-08-07 at 09:35.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post: