POL_Install_RegisterFonts

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 371113
Wine: System

Feedbacks

Source code

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:

Contribute
Member Message
Dadu042 Sunday 19 April 2020 at 21:29
Dadu042

Information

This update has been approved by the team.

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"

New source code

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"

Replies

Dadu042 Sunday 19 April 2020 at 21:21
Dadu042

Message

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

Replies

Beanow Wednesday 11 January 2017 at 21:52
Beanow Anonymous

Message

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.

Replies

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