Microsoft Fonts

Informatie

Creator Bericht
cendre

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 268663
Wine: System

Feedbacks

Broncode

#!/bin/bash
#made by cendre , 25/10/08
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check

if [ "$POL_LANG" == "fr" ];then 
LNG_NO_FONT="Merci d'installer les polices Microsoft avant d'utiliser ce script."
LNG_FONT="Cette installateur vous aidera à installer les polices Microsoft dans un préfixe."
LNG_CHOOSE="Choisissez le préfixe dans lequel copier les polices Microsoft."
LNG_NAME="Polices Microsoft"
LNG_DONE="Copie des polices terminée."
else
LNG_NO_FONT="Please install Microsoft fonts before using this script."
LNG_FONT="This wizard will help you to install Microsoft fonts in a prefix"
LNG_CHOOSE="Choose a prefix to copy Microsoft fonts."
LNG_NAME="Microsoft fonts"
LNG_DONE="Copy of fonts done."
fi


POL_SetupWindow_Init
POL_SetupWindow_free_presentation "$LNG_NAME" "$LNG_FONT"
POL_SetupWindow_games "$LNG_CHOOSE" "$LNG_NAME"
prefixe=$(detect_wineprefix "$APP_ANSWER")
if [ -d "$prefixe" ]
then
select_prefixe "$prefixe"
fonts_to_prefix
POL_SetupWindow_reboot
POL_SetupWindow_message "$LNG_DONE" "Microsoft Fonts"
fi
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Bericht
derpenerX Woensdag 14 Februari 2018 om 16:09
derpenerX Anonymous

Bericht

This fixed my Battle.net app on the Diablo 3 install

Antwoorden

bobombolo Woensdag 24 Januari 2018 om 14:28
bobombolo Anonymous

Bericht

is it not possible to cache the fonts installer so that each POL instance that requires it does not have to re-download it? Also there are many times when the download seems to happen twice in a row.

Antwoorden

Vrijdag 2 Februari 2018 om 18:36
That script is the old one. You use POL_Install_corefonts instead. We keep it only for some old script outdated.
Anonymous
Zaterdag 3 Februari 2018 om 11:24
POL_Instal_corefonts also have the same problems (not storing the .exe files in som sort of a cache and downloading twice in a row).
Zaterdag 3 Februari 2018 om 18:59
It's not that. The script store downloaded file, install as generic (for all wineprefix) and mark them as installed. But the current version of the script crash and nerver install font. I already submited a patch but I need to know if the URL is good for Tinou. Because it's a non know source (at least for me) but it come from winetrick source code.
Zondag 4 Februari 2018 om 17:40
Btw I patch the POL/POM corefonts function so now it should work fine
Anonymous
Zondag 5 Januari 2020 om 0:12
POL_Install_corefonts definitely can't install fonts due to broken links to MS font EXE files. Same situation during last 3 years happen very often on ttf-mscorefonts or similar MS font package installation from various Linux distro repositories. Seems mirrors where fonts are supposedly hosted, dwindled or got overloaded with time. However if MS fonts are already installed in system from repositories or MS font packages earlier, software launched under Wine inside PlayOnLinux bundles, see and use installed MS fonts from system just fine. Because of that I would be glad if PlayOnLinux developers would update POL_Install_corefonts script and make it optional. On launch it should ask are user want to download MS fonts and gracefully exit on negative response thus allowing the rest of software installation continue to finish without fuss.