POL_Install_RegisterFonts

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

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

Retours d'expérience

Code source

cat << EOF > "$POL_USER_ROOT/tmp/register_fonts.reg"

REGEDIT 4
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
"Arial"="Arial.TTF"
"Arial Regular"="Arial.TTF"
"Arial Bold"="Arialbd.TTF"
"Arial Bold Italic"="Arialbi.TTF"
"Arial Italic"="Ariali.TTF"
"Arial Black"="AriBlk.TTF"
"Comic Sans MS"="Comic.TTF"
"Comic Sans MS Bold"="Comicbd.TTF"
"Courier New"="Cour.TTF"
"Courier New Bold"="CourBD.TTF"
"Courier New Bold Italic"="CourBI.TTF"
"Courier New Italic"="Couri.TTF"
"Georgia"="Georgia.TTF"
"Georgia Bold"="Georgiab.TTF"
"Georgia Bold Italic"="Georgiaz.TTF"
"Georgia Italic"="Georgiai.TTF"
"Impact"="Impact.TTF"
"Times New Roman"="Times.TTF"
"Times New Roman Bold"="Timesbd.TTF"
"Times New Roman Bold Italic"="Timesbi.TTF"
"Times New Roman Italic"="Timesi.TTF"
"Trebucet MS"="Trebuc.TTF"
"Trebucet MS Bold"="Trebucbd.TTF"
"Trebucet MS Bold Italic"="Trebucbi.TTF"
"Trebucet MS Italic"="Trebucit.TTF"
"Verdana"="Verdana.TTF"
"Verdana Bold"="Verdanab.TTF"
"Verdana Bold Italic"="Verdanaz.TTF"
"Verdana Italic"="Verdanai.TTF"
"Webdings"="Webdings.TTF"

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Fonts]
"Arial"="Arial.TTF"
"Arial Regular"="Arial.TTF"
"Arial Bold"="Arialbd.TTF"
"Arial Bold Italic"="Arialbi.TTF"
"Arial Italic"="Ariali.TTF"
"Arial Black"="AriBlk.TTF"
"Comic Sans MS"="Comic.TTF"
"Comic Sans MS Bold"="Comicbd.TTF"
"Courier New"="Cour.TTF"
"Courier New Bold"="CourBD.TTF"
"Courier New Bold Italic"="CourBI.TTF"
"Courier New Italic"="Couri.TTF"
"Georgia"="Georgia.TTF"
"Georgia Bold"="Georgiab.TTF"
"Georgia Bold Italic"="Georgiaz.TTF"
"Georgia Italic"="Georgiai.TTF"
"Impact"="Impact.TTF"
"Times New Roman"="Times.TTF"
"Times New Roman Bold"="Timesbd.TTF"
"Times New Roman Bold Italic"="Timesbi.TTF"
"Times New Roman Italic"="Timesi.TTF"
"Trebucet MS"="Trebuc.TTF"
"Trebucet MS Bold"="Trebucbd.TTF"
"Trebucet MS Bold Italic"="Trebucbi.TTF"
"Trebucet MS Italic"="Trebucit.TTF"
"Verdana"="Verdana.TTF"
"Verdana Bold"="Verdanab.TTF"
"Verdana Bold Italic"="Verdanaz.TTF"
"Verdana Italic"="Verdanai.TTF"
"Webdings"="Webdings.TTF"
EOF

POL_Wine regedit "$POL_USER_ROOT/tmp/register_fonts.reg"

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 19 Avril 2020 à 21:29
Dadu042

Information

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

Differences

@@ -1,7 +1,7 @@
 cat << EOF > "$POL_USER_ROOT/tmp/register_fonts.reg"
 
 REGEDIT 4
-[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\Fonts]
+[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
 "Arial"="Arial.TTF"
 "Arial Regular"="Arial.TTF"
 "Arial Bold"="Arialbd.TTF"
@@ -26,14 +26,14 @@
 "Trebucet MS"="Trebuc.TTF"
 "Trebucet MS Bold"="Trebucbd.TTF"
 "Trebucet MS Bold Italic"="Trebucbi.TTF"
-"Trebucit.TTF"="Trebucet MS Italic"
+"Trebucet MS Italic"="Trebucit.TTF"
 "Verdana"="Verdana.TTF"
 "Verdana Bold"="Verdanab.TTF"
 "Verdana Bold Italic"="Verdanaz.TTF"
 "Verdana Italic"="Verdanai.TTF"
 "Webdings"="Webdings.TTF"
 
-[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\Fonts]
+[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Fonts]
 "Arial"="Arial.TTF"
 "Arial Regular"="Arial.TTF"
 "Arial Bold"="Arialbd.TTF"
@@ -58,7 +58,7 @@
 "Trebucet MS"="Trebuc.TTF"
 "Trebucet MS Bold"="Trebucbd.TTF"
 "Trebucet MS Bold Italic"="Trebucbi.TTF"
-"Trebucit.TTF"="Trebucet MS Italic"
+"Trebucet MS Italic"="Trebucit.TTF"
 "Verdana"="Verdana.TTF"
 "Verdana Bold"="Verdanab.TTF"
 "Verdana Bold Italic"="Verdanaz.TTF"

Nouveau code source

cat << EOF > "$POL_USER_ROOT/tmp/register_fonts.reg"

REGEDIT 4
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts]
"Arial"="Arial.TTF"
"Arial Regular"="Arial.TTF"
"Arial Bold"="Arialbd.TTF"
"Arial Bold Italic"="Arialbi.TTF"
"Arial Italic"="Ariali.TTF"
"Arial Black"="AriBlk.TTF"
"Comic Sans MS"="Comic.TTF"
"Comic Sans MS Bold"="Comicbd.TTF"
"Courier New"="Cour.TTF"
"Courier New Bold"="CourBD.TTF"
"Courier New Bold Italic"="CourBI.TTF"
"Courier New Italic"="Couri.TTF"
"Georgia"="Georgia.TTF"
"Georgia Bold"="Georgiab.TTF"
"Georgia Bold Italic"="Georgiaz.TTF"
"Georgia Italic"="Georgiai.TTF"
"Impact"="Impact.TTF"
"Times New Roman"="Times.TTF"
"Times New Roman Bold"="Timesbd.TTF"
"Times New Roman Bold Italic"="Timesbi.TTF"
"Times New Roman Italic"="Timesi.TTF"
"Trebucet MS"="Trebuc.TTF"
"Trebucet MS Bold"="Trebucbd.TTF"
"Trebucet MS Bold Italic"="Trebucbi.TTF"
"Trebucet MS Italic"="Trebucit.TTF"
"Verdana"="Verdana.TTF"
"Verdana Bold"="Verdanab.TTF"
"Verdana Bold Italic"="Verdanaz.TTF"
"Verdana Italic"="Verdanai.TTF"
"Webdings"="Webdings.TTF"

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Fonts]
"Arial"="Arial.TTF"
"Arial Regular"="Arial.TTF"
"Arial Bold"="Arialbd.TTF"
"Arial Bold Italic"="Arialbi.TTF"
"Arial Italic"="Ariali.TTF"
"Arial Black"="AriBlk.TTF"
"Comic Sans MS"="Comic.TTF"
"Comic Sans MS Bold"="Comicbd.TTF"
"Courier New"="Cour.TTF"
"Courier New Bold"="CourBD.TTF"
"Courier New Bold Italic"="CourBI.TTF"
"Courier New Italic"="Couri.TTF"
"Georgia"="Georgia.TTF"
"Georgia Bold"="Georgiab.TTF"
"Georgia Bold Italic"="Georgiaz.TTF"
"Georgia Italic"="Georgiai.TTF"
"Impact"="Impact.TTF"
"Times New Roman"="Times.TTF"
"Times New Roman Bold"="Timesbd.TTF"
"Times New Roman Bold Italic"="Timesbi.TTF"
"Times New Roman Italic"="Timesi.TTF"
"Trebucet MS"="Trebuc.TTF"
"Trebucet MS Bold"="Trebucbd.TTF"
"Trebucet MS Bold Italic"="Trebucbi.TTF"
"Trebucet MS Italic"="Trebucit.TTF"
"Verdana"="Verdana.TTF"
"Verdana Bold"="Verdanab.TTF"
"Verdana Bold Italic"="Verdanaz.TTF"
"Verdana Italic"="Verdanai.TTF"
"Webdings"="Webdings.TTF"
EOF

POL_Wine regedit "$POL_USER_ROOT/tmp/register_fonts.reg"

Réponses

Dadu042 Dimanche 19 Avril 2020 à 21:21
Dadu042

Messages

'CurrentVersion\Fonts' instead of 'CurrentVersion\\Fonts' ?   no problem ?

Réponses

Beanow Mercredi 11 Janvier 2017 à 21:52
Beanow Anonymous

Messages

Registry entries should have (TrueType) suffix. Same as the winetricks script.

"Arial (TrueType)"="Arial.TTF"
"Arial Regular (TrueType)"="Arial.TTF"
"Arial Bold (TrueType)"="Arialbd.TTF"

Also the
"Trebucit.TTF"="Trebucet MS Italic"
Entry is in reverse order.

 

Finally in https://github.com/Winetricks/winetricks/blob/master/src/winetricks#L9468
Arial Regular is not registered. Not sure if this has any impact.

Réponses