Wine dotnet and the oriya font [Solved]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
paul
Posts: 51
Joined: 25. Jan 2013, 11:15

Wine dotnet and the oriya font [Solved]

Post by paul »

Hi, can anyone give me the right syntax to uninstall the oriya fonts?
When trying to install the dotnet extensions in Wine it refused to do so because of potential conflicts with the oriya font.
The notice that came up gave the following syntax to uninstall the font:
sudo dpkg -r ttf-oriya-fonts
Needless to say this did not work on Salix.
Any suggestions on how to accomplish this task?
Thanks, Paul.
Last edited by paul on 29. May 2013, 14:58, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Wine dotnet and the oriya font

Post by gapan »

You should probably remove the ttf-indic-fonts package.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Wine dotnet and the oriya font

Post by mimosa »

Code: Select all

#slapt-get -i --remove [package]
paul
Posts: 51
Joined: 25. Jan 2013, 11:15

Re: Wine dotnet and the oriya font

Post by paul »

Hello gapan and mimosa, we meet again, and thanks for that.
Tried to uninstall both the indic fonts and the oriya fonts, but Salix comes up and says that the fonts are not installed.
Then when I run Winetricks it complains that it will not install the dotnet extensions in Wine because the oriya fonts need to be uninstalled first as it creates crashes.
This has me flummoxed.
How can a font that is not installed cause Winetricks a problem?
Is there a repository somewhere in Wine that could be listing this font as installed, when it is not?
Thanks, Paul.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Wine dotnet and the oriya font

Post by mimosa »

Not sure but searching for related filenames might indicate what vestiges are causing the problem (perhaps something inside Wine's fake Windows drive):

Code: Select all

#locate -u # to ensure the database is up to date # must be run as root
locate oriya # doesn't matter whether you are root
Please post the results.

Also maybe you need to update the font cache after removing a font (you do after adding one). I can't remember how off the top of my head, but there is a post that should come up if you search this forum.
paul
Posts: 51
Joined: 25. Jan 2013, 11:15

Re: Wine dotnet and the oriya font

Post by paul »

Hello mimosa,
Updated the fonts database and tried to find reference to the oriya font as instructed, but this came back empty handed.
Updated the font indexes with this script from another post:

# Update the X font indexes:
if [ -x /usr/bin/fc-cache ]; then
echo "Updating X font indexes: /usr/bin/fc-cache -f &"
/usr/bin/fc-cache -f &
fi

Still no joy.
Any ideas?
Thanks,
Paul.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Wine dotnet and the oriya font

Post by gapan »

Perhaps it's not about the font being installed in salix, but being installed inside the wine environment. I haven't used wine for years, so that is just a guess.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Wine dotnet and the oriya font

Post by mimosa »

... and in that case, maybe the file or files wouldn't be visible from outside WIne. Inside, no doubt they reside wherever on what it thinks is its C:\ drive they would in real Windows.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Wine dotnet and the oriya font

Post by laprjns »

DuckDuckGo this:
paul wrote:sudo dpkg -r ttf-oriya-fonts
and the third hit get this:
http://www.michael-pass.com/2012/removi ... -for-wine/
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
paul
Posts: 51
Joined: 25. Jan 2013, 11:15

Re: Wine dotnet and the oriya font

Post by paul »

Hello laprjs,
I ran the following commands in the /usr/share/fonts directory from the command line as per the instructions on the link you provided:

grep -nr samy . | sed 's@\(Samyak\)@@'
grep -nr oriy . | sed 's@\(Oriya\)@@'

and found the following files with references to these fonts in the /usr/share/fonts/TTF directory:

fonts.dir
fonts.scale

I did a search through these files and removed the lines with any reference to the oriya and samyak fonts, rebooted and winetricks no longer came up with an error that complained about these fonts.
Not that it helped in any way, Winetricks kept defaulting to the installation of dotnet 2, no matter what you asked it to do, probably because this was not installed properly. At that point no further progress could be made.
Had a sleep on this and then tried one last thing and selected KDE on Windows (which I had installed earlier) in Winetricks to install the dotnet versions instead the default utilities file manager.
This worked perfectly.
Managed to install dotnet 2.0, dotnet 2.0 SP1, dotnet 3.0, dotnet 3.0 SP2 and dotnet 3.5 without problems.
Also noted that all installed packages were correctly displayed when using KDE on Windows.
Thanks for everyone's assistance with this.
Paul.
Post Reply