POL_Install_tahoma2

Informations

Creator Message
Ronin DUSETTE

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 987260
Wine: System

Feedbacks

Description

A function that installs the tahoma font from:

http://download.microsoft.com/download/office97pro/fonts/1/w95/en-us/tahoma32.exe

Required by Photoshop CS6, and quite possibly others. 

Source code

# Date : (2015-01-9 12-30)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing tahoma32..."

POL_Download_Resource "http://residence-eon.tuxfamily.org/Wine/tahoma32.exe" "ccd250dd30247d68e0f8a14adf797262" "tahoma32"
mkdir $POL_USER_ROOT/tmp/tahoma32
cd $POL_USER_ROOT/tmp/tahoma32
cp $POL_USER_ROOT/ressources/tahoma32/tahoma32.exe $POL_USER_ROOT/tmp/tahoma32/

POL_System_cabextract "$POL_USER_ROOT/tmp/tahoma32/tahoma32.exe"
cp $POL_USER_ROOT/tmp/tahoma32/Tahoma.TTF $WINEPREFIX/drive_c/windows/Fonts/tahoma.ttf
cp $POL_USER_ROOT/tmp/tahoma32/Tahomabd.TTF $WINEPREFIX/drive_c/windows/Fonts/tahomabd.ttf

POL_Debug_Message "Registering font..."

echo "REGEDIT4

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"" > $POL_USER_ROOT/tmp/tahoma32/register.reg

POL_Wine regedit register.reg

sleep 5

chmod +w $WINEPREFIX/drive_c/windows/Fonts/tahoma*.ttf

POL_Debug_Message "Cleaning up tmp folder..."
rm -rf $POL_USER_ROOT/tmp/tahoma32

Contributions

Filters:

Contribute
Member Message
riotbr Saturday 2 July 2016 at 23:59
riotbr Anonymous

Information

This update has been approved by the team.

Message

Hi!

It gets an error when downloading Tahoma32.exe. The host of Microsoft doesn't work.

Differences

@@ -6,7 +6,7 @@
 
 POL_Debug_Message "Installing tahoma32..."
 
-POL_Download_Resource "http://download.microsoft.com/download/office97pro/fonts/1/w95/en-us/tahoma32.exe" "ccd250dd30247d68e0f8a14adf797262" "tahoma32"
+POL_Download_Resource "http://residence-eon.tuxfamily.org/Wine/tahoma32.exe" "ccd250dd30247d68e0f8a14adf797262" "tahoma32"
 mkdir $POL_USER_ROOT/tmp/tahoma32
 cd $POL_USER_ROOT/tmp/tahoma32
 cp $POL_USER_ROOT/ressources/tahoma32/tahoma32.exe $POL_USER_ROOT/tmp/tahoma32/

New source code

# Date : (2015-01-9 12-30)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing tahoma32..."

POL_Download_Resource "http://residence-eon.tuxfamily.org/Wine/tahoma32.exe" "ccd250dd30247d68e0f8a14adf797262" "tahoma32"
mkdir $POL_USER_ROOT/tmp/tahoma32
cd $POL_USER_ROOT/tmp/tahoma32
cp $POL_USER_ROOT/ressources/tahoma32/tahoma32.exe $POL_USER_ROOT/tmp/tahoma32/

POL_System_cabextract "$POL_USER_ROOT/tmp/tahoma32/tahoma32.exe"
cp $POL_USER_ROOT/tmp/tahoma32/Tahoma.TTF $WINEPREFIX/drive_c/windows/Fonts/tahoma.ttf
cp $POL_USER_ROOT/tmp/tahoma32/Tahomabd.TTF $WINEPREFIX/drive_c/windows/Fonts/tahomabd.ttf

POL_Debug_Message "Registering font..."

echo "REGEDIT4

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"" > $POL_USER_ROOT/tmp/tahoma32/register.reg

POL_Wine regedit register.reg

sleep 5

chmod +w $WINEPREFIX/drive_c/windows/Fonts/tahoma*.ttf

POL_Debug_Message "Cleaning up tmp folder..."
rm -rf $POL_USER_ROOT/tmp/tahoma32

Replies

Sunday 3 July 2016 at 8:15
Thanks for reporting this. It should be fixed now.
Ronin DUSETTE Saturday 10 January 2015 at 0:39
Ronin DUSETTE

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Shortened wait time after registering fonts. 

Differences

@@ -29,7 +29,7 @@
 
 POL_Wine regedit register.reg
 
-sleep 10
+sleep 5
 
 chmod +w $WINEPREFIX/drive_c/windows/Fonts/tahoma*.ttf
 

New source code

# Date : (2015-01-9 12-30)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing tahoma32..."

POL_Download_Resource "http://download.microsoft.com/download/office97pro/fonts/1/w95/en-us/tahoma32.exe" "ccd250dd30247d68e0f8a14adf797262" "tahoma32"
mkdir $POL_USER_ROOT/tmp/tahoma32
cd $POL_USER_ROOT/tmp/tahoma32
cp $POL_USER_ROOT/ressources/tahoma32/tahoma32.exe $POL_USER_ROOT/tmp/tahoma32/

POL_System_cabextract "$POL_USER_ROOT/tmp/tahoma32/tahoma32.exe"
cp $POL_USER_ROOT/tmp/tahoma32/Tahoma.TTF $WINEPREFIX/drive_c/windows/Fonts/tahoma.ttf
cp $POL_USER_ROOT/tmp/tahoma32/Tahomabd.TTF $WINEPREFIX/drive_c/windows/Fonts/tahomabd.ttf

POL_Debug_Message "Registering font..."

echo "REGEDIT4

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"" > $POL_USER_ROOT/tmp/tahoma32/register.reg

POL_Wine regedit register.reg

sleep 5

chmod +w $WINEPREFIX/drive_c/windows/Fonts/tahoma*.ttf

POL_Debug_Message "Cleaning up tmp folder..."
rm -rf $POL_USER_ROOT/tmp/tahoma32

Replies

Ronin DUSETTE Friday 9 January 2015 at 22:29
Ronin DUSETTE

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Initial commit. 

Differences

@@ -23,7 +23,7 @@
 \"Tahoma\"=\"tahoma.ttf\"
 \"Tahoma Bold\"=\"tahomabd.ttf\"
 
-[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\ NT\\CurrentVersion\\Fonts]
+[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
 \"Tahoma\"=\"tahoma.ttf\"
 \"Tahoma Bold\"=\"tahomabd.ttf\"" > $POL_USER_ROOT/tmp/tahoma32/register.reg
 

New source code

# Date : (2015-01-9 12-30)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing tahoma32..."

POL_Download_Resource "http://download.microsoft.com/download/office97pro/fonts/1/w95/en-us/tahoma32.exe" "ccd250dd30247d68e0f8a14adf797262" "tahoma32"
mkdir $POL_USER_ROOT/tmp/tahoma32
cd $POL_USER_ROOT/tmp/tahoma32
cp $POL_USER_ROOT/ressources/tahoma32/tahoma32.exe $POL_USER_ROOT/tmp/tahoma32/

POL_System_cabextract "$POL_USER_ROOT/tmp/tahoma32/tahoma32.exe"
cp $POL_USER_ROOT/tmp/tahoma32/Tahoma.TTF $WINEPREFIX/drive_c/windows/Fonts/tahoma.ttf
cp $POL_USER_ROOT/tmp/tahoma32/Tahomabd.TTF $WINEPREFIX/drive_c/windows/Fonts/tahomabd.ttf

POL_Debug_Message "Registering font..."

echo "REGEDIT4

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
\"Tahoma\"=\"tahoma.ttf\"
\"Tahoma Bold\"=\"tahomabd.ttf\"" > $POL_USER_ROOT/tmp/tahoma32/register.reg

POL_Wine regedit register.reg

sleep 10

chmod +w $WINEPREFIX/drive_c/windows/Fonts/tahoma*.ttf

POL_Debug_Message "Cleaning up tmp folder..."
rm -rf $POL_USER_ROOT/tmp/tahoma32

Replies

Edited by RoninDusette