POL_Install_RegisterFonts

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 294773
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"
"Trebucit.TTF"="Trebucet MS Italic"
"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"
"Trebucit.TTF"="Trebucet MS Italic"
"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
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