Description of problem: After I press the "Get Windows Fonts" button in drakfont, I'm getting this: "No Fonts Found" and the installation fails. Steps to Reproduce: 1. su to root. 2. Run drakfont. 3. Press the "Get Windows Fonts" button.
Is the windows partition mounted? If not, then this is a duplicate of bug 1182.
CC: (none) => davidwhodgins
(In reply to comment #1) > Is the windows partition mounted? If not, then this is a duplicate of > bug 1182. The Windows partition is mounted, but it is an old Windows 98 partition which I trimmed a lot and removed a lot of stuff because I can no longer boot it (so I'm using it as extra storage). I thought that what this button does is give me the Microsoft True Type Core Fonts: http://corefonts.sourceforge.net/
The badly named "Get Windows Fonts" button is intended to import the windows fonts from a mounted windows partition on a dual/multi boot system. The actual code that searches for those fonts in /usr/sbin/drakfont is foreach my $fstab_line (grep { /vfat|smbfs|ntfs|fuse/ } cat_('/etc/mtab')) { my $win_dir = (split('\s', $fstab_line))[1]; foreach my $sys_dir (grep { /^win(nt|dows)$/i } all($win_dir)) { foreach my $font_dir (grep { /^fonts$/i } map { all($_) } "$win_dir/$sys_dir") { push @fonts, map { "$win_dir/$sys_dir/$font_dir/$_" } all("$win_dir/$sys_dir/$font_dir"); While I can usually figure out what perl code does, I'm no expert in it. :-) I'm not sure how it handles upper/lower case. drakfont does import the windows fonts on my system. I also have a borked 98 install, as well as an xp install, so I'm not sure which it's actually importing them from, of if it's importing both. For xp, the fonts are in /media/win_m/WINDOWS/Fonts For 98, the fonts are in /media/win_c/windows/fonts If you have /media/win_c/windows/fonts, try renaming to the xp format, and see if drakfont will then find them.
Another approach is to manually collect/copy the fonts from various versions of Windows and Office to a central location, and then just "Import" from that location each time.
CC: (none) => ftg
@ Shlomi I thought that button was to get the MS true type core fonts, too :) Bug 2639 is a package request for those fonts. Were the fonts still present on your old Win 98 partition, or weren't they?
Keywords: (none) => NEEDINFOCC: (none) => marja11
(In reply to comment #5) > @ Shlomi > > I thought that button was to get the MS true type core fonts, too :) > > Bug 2639 is a package request for those fonts. > > Were the fonts still present on your old Win 98 partition, or weren't they? I don't remember, and since then I switched to a different computer with a single Linux-only hard-disk, so it would be hard for me to reproduce it. I think I moved the fonts to a different place, though. Regards, -- Shlomi Fish
(In reply to comment #6) > (In reply to comment #5) > > Were the fonts still present on your old Win 98 partition, or weren't they? > > I don't remember, and since then I switched to a different computer with a > single Linux-only hard-disk, so it would be hard for me to reproduce it. I > think I moved the fonts to a different place, though. > > Regards, > > -- Shlomi Fish Well, there doesn't seem to be a reason to keep this bug report open, then. So closing. Feel free to reopen if you disagree :) Regards, Marja
Status: NEW => RESOLVEDResolution: (none) => INVALID