POL_Install_tahoma2

Informatie

Creator Bericht
Ronin DUSETTE

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 991735
Wine: System

Feedbacks

Omschrijving

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. 

Broncode

# 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 Bericht
riotbr Zaterdag 2 Juli 2016 om 23:59
riotbr Anonymous

Information

This update has been approved by the team.

Bericht

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

Antwoorden

Zondag 3 Juli 2016 om 8:15
Thanks for reporting this. It should be fixed now.
Ronin DUSETTE Zaterdag 10 Januari 2015 om 0:39
Ronin DUSETTE

Warning

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

Bericht

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

Antwoorden

Ronin DUSETTE Vrijdag 9 Januari 2015 om 22:29
Ronin DUSETTE

Warning

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

Bericht

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

Antwoorden

Aangepast door RoninDusette

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com