POL_Install_tahoma2

Informations

Créateur Messages
Ronin DUSETTE

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 988656
Wine: System

Retours d'expérience

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. 

Code source

# 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:

Contribuer
Membre Messages
riotbr Samedi 2 Juillet 2016 à 23:59
riotbr Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Messages

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/

Nouveau code source

# 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

Réponses

Dimanche 3 Juillet 2016 à 8:15
Thanks for reporting this. It should be fixed now.
Ronin DUSETTE Samedi 10 Janvier 2015 à 0:39
Ronin DUSETTE

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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
 

Nouveau code source

# 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

Réponses

Ronin DUSETTE Vendredi 9 Janvier 2015 à 22:29
Ronin DUSETTE

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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
 

Nouveau code source

# 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

Réponses

Edité par RoninDusette