I'm getting Windows fonts???
I'm getting Windows fonts???
I just downloaded and installed Inkscape for Linux. I want to know how the heck it's reading the fonts that I installed in Windows... I haven't even done anything in Linux to tell it the fonts were there. But the fonts I'm finding when using Inkscape are the ones I have installed in Windows.
- Alucard_the_dex
- Posts: 317
- Joined: Wed 05 Oct 2005, 01:53
yes, just copy the files in C:\windows\fonts\ to /root/.fonts
if there is no .fonts folder, create it first ... it's a hidden folder, so you have to click the Show/Hide Hidden Files button at the top of the Rox window to see hidden files/folders
or you can download Windows fonts and put them in /root/.fonts
http://corefonts.sourceforge.net/
if there is no .fonts folder, create it first ... it's a hidden folder, so you have to click the Show/Hide Hidden Files button at the top of the Rox window to see hidden files/folders
or you can download Windows fonts and put them in /root/.fonts
http://corefonts.sourceforge.net/
- Alucard_the_dex
- Posts: 317
- Joined: Wed 05 Oct 2005, 01:53
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Actually, I think it was GuestToo who suggested this originally, the ideaBarryK wrote:Um, yes, well, I did something for 1.0.5, never told anybody.
Look at /root/.fonts
...where does it point to?
Puppy creates this automatically if it finds windows fonts on /mnt/home.
It seems like a harmless and useful thing to do.
of pointing /root/.fonts to /mnt/home, perhaps not the idea of doing it
automatically.
- wetware.interrupt
- Posts: 3
- Joined: Thu 01 Jun 2006, 16:43
IMHO, it could be more useful. The exact code in question looks only for a dir named /mnt/home/windows/fonts and that will fail on a "normal" Windwoes installation a high percentage of the time, since XP and similar NT-lineage OS's don't have N:\windows (where N is often C), but instead have N:\winnt ...BarryK wrote:Um, yes, well, I did something for 1.0.5, never told anybody.
Look at /root/.fonts
...where does it point to?
Puppy creates this automatically if it finds windows fonts on /mnt/home.
It seems like a harmless and useful thing to do.
That's in /root/.etc/rc.d/rc.local0 as I have it on GrafPup 103 or 102 (sorry I don't know which it is - forgot to label the cdrom!
I respectfully suggest that the following code would be more widely applicable:
Code: Select all
#v1.0.5
#good idea from GuestToo... and wetware.interrupt
if [ ! -e /root/.fonts ];then
if [ -d /mnt/home/windows/fonts ];then
ln -s /mnt/home/windows/fonts /root/.fonts
else if [ -d /mnt/home/winnt/fonts ];then
ln -s /mnt/home/winnt/fonts /root/.fonts
fi
fi
fi
thanks for bumping this thread up; i hadn't seen it before.
all this time i have been using puppy installed to hard drive (option 2) because i run multiple systems and it easier and faster booting for me. all this while debateing myself to try the tuts i have noticed about improving the fonts.
it seems this only works booting from cd rom.
how do i make this work in option 2 hard drive install?
all this time i have been using puppy installed to hard drive (option 2) because i run multiple systems and it easier and faster booting for me. all this while debateing myself to try the tuts i have noticed about improving the fonts.
it seems this only works booting from cd rom.
how do i make this work in option 2 hard drive install?
I just tried it with Puppy2. I couldn't find a /root/.fonts , and it didn't get created, even with the modification suggested by wet.interrupt. So I created the symlink manually and rebooted, now I have the Windows fonts in Abiword and Seamonkey.
Note: For some reason on my WinXP Home (retail, installed from scratch, Italian edition) the Windows directory is c:\windows, and the fonts directory is Fonts, capitalized.
Possible side effect: if things are done this way, any font that is manually installed in /root/.fonts will also show up in C:\windows\Fonts, and if it is a TrueType or bitmap font it will be actually installed in Windows.
(don't know what happens with other font types such as Type1, nothing good I'm afraid).
Note: For some reason on my WinXP Home (retail, installed from scratch, Italian edition) the Windows directory is c:\windows, and the fonts directory is Fonts, capitalized.
Possible side effect: if things are done this way, any font that is manually installed in /root/.fonts will also show up in C:\windows\Fonts, and if it is a TrueType or bitmap font it will be actually installed in Windows.
(don't know what happens with other font types such as Type1, nothing good I'm afraid).
- wetware.interrupt
- Posts: 3
- Joined: Thu 01 Jun 2006, 16:43
Sorry for the complications!
The capitalization issue is a tough one - we're looking at writing a fairly long case statement in the shell script now, to take care of all the possible permutations. I cannot recall my mount-fu well enough atm to say for sure: but isn't there an option to mount a vfat filesystem so that it ignores case? ... or is that a samba thing, or something else.
Argh. Well, I run WinXP-Home too. It was installed by the system vendor (Gateway). My generalization about WinXP may not be very reliable, OK. It's up to the installer as to what to name the Windows dir; one can name it "FoosBall" and things will still work (inside Winwoes). In general I think it's still productive though, to assume that a high percentage of the time one will find either Windows\ or WINNT\.mdisaster wrote:I just tried it with Puppy2. I couldn't find a /root/.fonts , and it didn't get created, even with the modification suggested by wet.interrupt. So I created the symlink manually and rebooted, now I have the Windows fonts in Abiword and Seamonkey.
Note: For some reason on my WinXP Home (retail, installed from scratch, Italian edition) the Windows directory is c:\windows, and the fonts directory is Fonts, capitalized.
The capitalization issue is a tough one - we're looking at writing a fairly long case statement in the shell script now, to take care of all the possible permutations. I cannot recall my mount-fu well enough atm to say for sure: but isn't there an option to mount a vfat filesystem so that it ignores case? ... or is that a samba thing, or something else.
Thanks for the observations.mdisaster wrote:Possible side effect: if things are done this way, any font that is manually installed in /root/.fonts will also show up in C:\windows\Fonts, and if it is a TrueType or bitmap font it will be actually installed in Windows.
(don't know what happens with other font types such as Type1, nothing good I'm afraid).