Hi, I am aware that the wine fonts can be changed manually via the winecfg dialog. My question is, can the fonts used in a prefix be changed via a command line? If not, is it possible to write a script (bash, perl, etc.) that will do this? Thanks for any answers.
leniviy
2012-Apr-12 08:40 UTC
[Wine] Re: Is it possible to change wine fonts by bash script?
Such settings are usually stored in registry. Change some font settings in winecfg and compare registry before and after. Then write a *.reg file for your needs and feed it to wine regedit or wine reg in your script.
leniviy
2012-Apr-12 08:54 UTC
[Wine] Re: Is it possible to change wine fonts by bash script?
For example, Code: REGEDIT4 [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics] "StatusFont"=hex:f8,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\ 00,00,00,00,00,00,00,22,41,00,72,00,69,00,61,00,6c,00,20,00,42,00,6c,00,61,\ 00,63,00,6b,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 changes the setting "ToolTip Text" Font to Arial Black. This font will be used in the status bar of regedit.