jason22plays / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

dotnet20 / fontfix verb gives poor hints on slackware #300

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.winetricks dotnet20

What is the expected output? What do you see instead?
I have already installed mono. It is on /usr/bin/mono.
The output goes:
Executing w_do_call dotnet30
Executing load_dotnet30
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
-misc-samyak-medium-r-normal--0-0-0-0-p-0-iso10646-1
-misc-samyak-medium-r-normal--0-0-0-0-p-0-iso10646-1
------------------------------------------------------
Please uninstall the Samyak/Oriya font, e.g. 'sudo dpkg -r ttf-oriya-fonts', 
then log out and log in again.  That font causes strange crashes in .net 
programs.

What version of the product are you using? On what operating system?
i'm using the last winetricks product. On slackware 12.2.

Please provide any additional information below.
I can't uninstall, nor find, the oriya-fonts on slackware. On Kpackage it 
doesn't find oriya . So I can't use 'dpkg -r ttf-oriya-fonts' because im on 
slackware and because i can't find oriya-fonts on this system.
i'm using wine-1.1.29 .

Original issue reported on code.google.com by dannysan...@gmail.com on 19 Jan 2013 at 9:58

GoogleCodeExporter commented 8 years ago
http://www.adras.com/Removing-Samyak-Oriya-fonts-from-Slack13.t8377-75.html
has some tips for dealing with this situation on slackware.
In short, it's something like

1. verify that the bad fonts show up, e.g.
   xlsfonts | egrep -i "samyak|oriya"
should show the font you want to remove.

2. Remove the bad font (e.g. ttf-indic-fonts-0.4.7.4-noarch-1 ) using pkgtool

3. Update the font index and/or cache
   cd /usr/share/fonts/TTF
   sudo mkfontscale
   sudo mkfontdir
   sudo fc-cache -f .

4. Make sure the bad fonts don't show up anymore in the list of fonts, e.g.
   xlsfonts | egrep -i "samyak|oriya"
should show nothing.

Original comment by daniel.r...@gmail.com on 19 Jan 2013 at 10:25

GoogleCodeExporter commented 8 years ago
To remove i used
removepkg ttf-indic-fonts-0.4.7.4-noarch-1
after doing everything that you said I had to reboot the system.
And then it worked!!
I did
winetricks dotnet20
and it installed everything.
It still issued the "mono not found" although mono is installed.
But everything worked ok

Original comment by dannysan...@gmail.com on 20 Jan 2013 at 5:38

GoogleCodeExporter commented 8 years ago
Good.  
(The "mono not found" refers to win32 mono, not system mono, so you'll get
that whether or not you have linux mono installed.)

I suppose the action on this would be to detect the system type
and issue the appropriate tips for the current operating system.
I'm not likely to get around to that, but would consider patches if someone 
else wanted to.

Original comment by daniel.r...@gmail.com on 20 Jan 2013 at 5:46

GoogleCodeExporter commented 8 years ago

Original comment by daniel.r...@gmail.com on 20 Jan 2013 at 5:47