6

I have few programs that do not have any Linux alternatives. So I am running them using wine and they are working very well also. Only I want to increase their font size. I searched and searched but I am not able to globally increase their font size of these programs.

In programs that are written for both Windows and Linux, the font size of Linux programs appear normal but those that for Windows programs when run through wine are so small fonts.

I am attaching an image for reference:

enter image description here

This is screenshot capture of a sample application. It might appear somewhat medium fonts to you in prowser but these appear very small when I am running the application using WINE. I only ask this question because I have some trouble reading and distinguishing the options.

If anyone can guide me how can I increase fonts size globally for apps running on WINE, it would help me so much. Thank you very much.

2 Answers 2

9

You can set the default font size for all wine apps in the wine registry.

Type "wine regedit" in a terminal. Then navigate to HKEY_CURRENT_CONFIG > Software > Fonts and change the LogPixels setting (or add it as a dword entry if it's not there). The default is equal to your screen resolution, I believe. Larger numbers will give you bigger fonts. Mine is personally set for 100 decimal. Your mileage may vary though.

If there's a way to set it for a single app I don't know. I'd be surprised if it couldn't be done though. Try checking the documentation over at winehq.

Source: https://www.linuxquestions.org/questions/linux-general-1/changing-font-size-in-wine-485257/

5
  • This solved the problem. Thank you very much. :)
    – user1166730
    Feb 5, 2021 at 10:16
  • 1
    You're welcome. :) Feb 5, 2021 at 18:06
  • good answer ... I'm trying to use Treecomp, an excellent directory comparator ... all the icons are very small, and the buttons etc are also, well, not very to look to :) ... but it seems to work, and fonts are now very readable .. at a later time I'll try it, along the source code tool Winmerge... I use both of them heavily in Windows, and tere are no good alternatives in Linux ... thanks for your answer
    – zentrunix
    Jun 8, 2021 at 2:36
  • @zentrunix Don't mention it :) Jun 12, 2021 at 18:07
  • Thank you very much!!! Nov 30, 2021 at 12:03
3

This can also be adjusted in the winecfg GUI by setting the screen resolution.

Not sure if this is the same as changing HKEY_CURRENT_CONFIG in the registry, but works for me.

enter image description here

You must log in to answer this question.