Installing .fon files

Questions about Wine on Linux
Locked
Gnampfissimo
Newbie
Newbie
Posts: 2
Joined: Sat Sep 30, 2023 7:46 am

Installing .fon files

Post by Gnampfissimo »

I'm trying to install a couple of .fon font files for a game. In the readme files, there are two ways mentioned to install them under Windows:
  1. Double-click and install automatically.
  2. Move them to the font folder (C:\Windows\Fonts).
The first didn't seem to do anything. The second (in the form of ~/.wine/drive_c/windows/Fonts) didn't produce a change either, despite being what is generally recommended with Wine if I understand correctly. I assume that this is due to them not being .otf or .ttf, but .fon files? On the issue of installing those, I only found one vaguely related question (https://askubuntu.com/questions/901018/ ... using-wine) on askubuntu, but without an answer.
How can I install these fonts?

Additional info if somehow relevant:
Wine version: 8.0.2
OS: Ubuntu 22.04.3
Game: Unterwegs in Düsterburg (https://aranael.itch.io/unterwegs-in-ds ... sh-version), created with the RPG Maker 2000
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing .fon files

Post by jkfloris »

You can register fonts manually.
- Copy the font files to ~/.wine/drive_c/windows/Fonts
- Register the fonts:

Code: Select all

wine reg add 'HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts' /v 'RMG2000' /d 'C:\Windows\Fonts\RMG2000.fon'
wine reg add 'HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts' /v 'RM2000' /d 'C:\Windows\Fonts\RM2000.fon'
Gnampfissimo
Newbie
Newbie
Posts: 2
Joined: Sat Sep 30, 2023 7:46 am

Re: Installing .fon files

Post by Gnampfissimo »

Works like a charm. Brilliant, thank you!
Locked