Click to See Complete Forum and Search --> : TTF Question
Jeepsta
01-04-2001, 04:12 PM
OK so i got my Windows 2000 partition mounted but when i got to Drakeconfig and got to the fonts it wont find my windows partition and i cant click on my fonts. Whats up with this?? Did i miss something? Mandrake 7.1 handled my TTF's alot better than 7.2 (what i run now). Any suggestions?
------------------
Its a jeep thing... You wouldn't understand.
JAdrock
01-04-2001, 05:32 PM
assuming your win2k drive is formatted in NTFS, make sure NTFS support is in your kernel, or if it's fat32, then make sure your win2k drive is mounted.
Past that, Drak* should take care of it, if not I'm sure if you ask nicely, they'll make some sort of fix for it.
mdwatts
01-04-2001, 05:37 PM
You might have a hard time reading the NTFS partition since W2K uses the new version 5 of NTFS. I'm not sure if Linux supports the new version. Give it a try, but check to see if NTFS is already compiled in your kernel. If it is, then you may be out of luck. You would have to install W2K using FAT32. Now don't blame Microsoft as they don't cater to Linux compatability.
Bernd
01-04-2001, 06:34 PM
In my opinion it was much easier to make X able to handle to fonts using ttmkfdir, mkfontsdir and editing the XF86Config-file than using the Mandrake tools. Sometimes the tools worked and sometimes not (and finding out the reason would have taken more time than doing the configuration myself). I think lots of Mdk tools are very buggy, thats the reason why I changed to Slackware.
By the way mounting a ntfs5.0 partion is no problem but writing is no longer possible (also for the earlier ntfs versions it was very dangerous and could damages the partition).
Bernd
Jeepsta
01-04-2001, 09:42 PM
Hey Bernd: I looked over the NHF which I think uses what you were talking about but either somehow I missed something or they just dont work. Can you give me some advice on what i need to do.
------------------
Its a jeep thing... You wouldn't understand.
Bernd
01-05-2001, 11:36 AM
O.k. here it is:
1.) copy your ttf files from your windows-partition to your linuxpartition (e.g. to /usr/share/fonts/truetype).
2.) cd /usr/share/fonts/truetype
3.) ttmkfdir >fonts.scale
4.) mkfontdir
5.) The mkfontdir command copies the entries from the fonts.scale file to the fonts.dir file. Look into this file if there are any entries about the tt-fonts
6.) Since you are using Mdk7.2 I assume you are using XFree4.x. Edit your /etc/XF86Config or /etc/XF86Config-4 (can't remember if Mdk creates a link to the etc-directory) go to the section 'Section "Files"' and add the line
FontPath "/usr/share/fonts/truetype/"
7.) Go to the section 'Section "Module"' and uncomment the line
Load "freetype"
or
Load "xtt"
But if you uncomment both lines using tt-fonts will not work.
8.) When you (re)start X, it reads the file fonts.dir and makes your fonts available. If you still have no tt-fonts check your /var/log/XFree86.0.log what it tells you about the font loading.
Bernd
[ 18 June 2001: Message edited by: Bernd ]
Jeepsta
01-05-2001, 03:43 PM
Thanks Bernd it worked perfectly.
------------------
Its a jeep thing... You wouldn't understand.