Microsoft Fonts

Informations

Créateur Messages
cendre

Information

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

Informations

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

Retours d'expérience

Code source

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

Contribuer
Membre Messages
derpenerX Mercredi 14 Février 2018 à 16:09
derpenerX Anonymous

Messages

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

Réponses

bobombolo Mercredi 24 Janvier 2018 à 14:28
bobombolo Anonymous

Messages

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.

Réponses

Vendredi 2 Février 2018 à 18:36
That script is the old one. You use POL_Install_corefonts instead. We keep it only for some old script outdated.
Anonymous
Samedi 3 Février 2018 à 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).
Samedi 3 Février 2018 à 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.
Dimanche 4 Février 2018 à 17:40
Btw I patch the POL/POM corefonts function so now it should work fine
Anonymous
Dimanche 5 Janvier 2020 à 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.