Specify a monospaced font for a Windows VST3 plugin

Questions about Wine on Linux
Locked
surdo
Newbie
Newbie
Posts: 1
Joined: Fri Nov 22, 2024 2:22 pm

Specify a monospaced font for a Windows VST3 plugin

Post by surdo »

Hello,

I am using an audio related Windows VST3 plugin on a machine running Arch Linux via Yabridge (software that facilitates the use of Windows VST, VST3 and CLAP plugins. see: https://github.com/robbert-vdh/yabridge) and Wine. The plugin is named K2x00 Remote and is an editor for the K2x00 series of Kurzweil synthesisers. While the plugin works (ie. I can edit the synth), the problem that I am having is that the font in the GUI of the plugin in Linux disrupts the layout and makes the editor very hard to read, especially on more detailed edit windows. For example, this is how the virtual LCD looks in Wine/Yabridge:

wine.jpeg


And this is how it looks in on my Windows 11 laptop:

windows_small.jpeg

I wrote to the forum that deals with K2x00 Remote to ask what font is used. Someone replied saying that the plugin uses the Windows default monospaced font and sent this screenshot:

Screenshot 2024-11-23 at 12.28.50.png

When I open the plugin in Ardour, I see that the following fonts are used:

Code: Select all

$ lsof -c wine -c yabridge | grep ttf
yabridge- 18043 me mem       REG               8,19   275572 155585914 /home/me/.wine/drive_c/windows/Fonts/arial.ttf
yabridge- 18043 me mem       REG               8,19   951868 155058589 /usr/share/fonts/TTF/tahoma.ttf
Neither of these fonts is monospaced.

Please, is there a way in Wine (or elsewhere) to fix this problem? I tried editing Segoe UI (default windows font, I believe) with "wine regedit", but this didn't have any effect. I also tried limiting the fonts in the ~/.wine/drive_c/windows/Fonts directory, but discovered that I'd also need to do so in /usr/share/fonts/TTF. The had adverse effects on the rest of my Arch system.

For reference, the K2x00 Remote plugin is available here: https://godlike.com.au/index.php?id=358

Thanks,
Locked