Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Jan 2008
#1
i copy ariialuni.ttf to mmc1 then open xtem press sudo gainroot
cp /media/mmc1/arialuni.ttf /home/user/.fonts
fc-cache -f -v
screen display /usr/share/fonts: caching, 12 fonts, 1 dirs
/usr/share/fonts/nokia: caching, 5 fonts, 0 dirs
/home/user/.fonts: "/home/user/.fonts": not a directory, skipping
/usr/var/cache/fontconfig: not cleaning unwritable cache directory
/home/user/.fontconfig: cleaning cache directory
fc-cache: succeeded
~ $
what's i did wrong I spend 1 week still cannot make vietnamese font work on n800I I like to read vnexpress.net and tuoitre.com.vn
please help my email hkpvth@gmail.com

 
Posts: 183 | Thanked: 115 times | Joined on Nov 2007 @ Seattle, WA
#2
Here's your problem:
cp /media/mmc1/arialuni.ttf /home/user/.fonts
needs to have a backslash on the end, i.e.,
cp /media/mmc1/arialuni.ttf /home/user/.fonts/
otherwise you're just copying the file to /home/user/ and renaming it .fonts--that's why it's saying .fonts is not a directory.

Hope that helps!
 
Posts: 3 | Thanked: 0 times | Joined on Jan 2008
#3
thx for your help butt i try it still not work I open for help here what i did
~ $ cp /media/mmc1/arialuni.ttf /home/user/fonts/
cp: cannot stat '/home/user/fonts/': Not a directory
~ $ cp /media/mmc1/arialuni.ttf /home/user/.fonts/
cp: cannot stat '/home/user/.fonts/': Not a directory
~ $ fc-cache -f -v
/usr/share/fonts: caching, 12 fonts, 1 dirs
/usr/share/fonts/nokia: caching, 5 fonts, 0 dirs
/home/user/.fonts: "/home/user/.fonts": not a directory, skipping
/usr/var/cache/fontconfig: not cleaning unwritable cache directory
/home/user/.fontconfig: cleaning cache directory
fc-cache: succeeded
I have os 2008 new version
 
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#4
First create the directory
mkdir /home/user/.fonts

Then copy the fonts to it
cp /media/mmc1/arialuni.ttf /home/user/.fonts/

Then, since you are doing all this as root, you need to change the permissions
chown -R user:users /home/user/.fonts/
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#5
Originally Posted by kimhuynh56 View Post
/home/user/.fonts: "/home/user/.fonts": not a directory, skipping
It means that you have somehow overwritten the font file to the file named /home/user/.fonts !!!!


You should do this:
==============================================
sudo gainroot
rm -rf /home/user/.fonts
exit
mkdir /home/user/.fonts
cp /media/mmc1/arialuni.ttf /home/user/.fonts
===============================================

the first 3 commands allow you to erase the file /home/user/.fonts
the last 2 commands create the directory named /home/user/.fonts and put the unicode font file in it !

The last unix command means "copy the file /media/mmc1/arialuni.ttf
to /home/user/.fonts if /home/user/.fonts is a directory then copy under it otherwhile the file has a new name /home/user/.fonts"

Therefore for most people in order to avoid mistake, they would type:
cp /media/mmc1/arialuni.ttf /home/user/.fonts/
just to make sure /home/user/.fonts has to be a directory.

Last edited by nhanquy; 2008-01-19 at 00:05.
 

The Following User Says Thank You to nhanquy For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Jan 2008
#6
thx all of you to help me load vietnamese font it work now i wand to share with every one why i have problems
1 I did not have/
2 some how I cannot copy arialuni.ttf /home/user/.fonts so nhanquy righ I need to remove rm -rf /home/user/fonts/ then exit etem
3 make new dir mkdir /home/user/fonts//
4 copy font arialuni.ttf to home/user/.fonts
5 change owner user fonts
6 exit
close etem and start vietnamese web
again thx alot your guy help
KH
 
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#7
So glad you got it working!
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:19.