VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

Large fonts for 4k monitors

Open evo11x opened this issue 2 years ago • 1 comments

Is it possible to add support for larger fonts for 4k monitors? because the options are very small.

Desired behavior

An option to be able to increase the font size

Your Environment

Windows 11, VeraCrypt 1.25.9, 64-bit

Thanks!

evo11x avatar May 11 '23 19:05 evo11x

Veracrypt uses wxWidgets for its GUI.

Idrassi, if you need help implementing this feature with a new font, see the documentation here: https://docs.wxwidgets.org/3.0/classwx_font.html

To define a new font, use the wxFontInfo function to define attributes of built-in fonts on the user's system. I am unaware of any way for the user to change the font currently so this will need to be overcome before the actual fonts can be inserted. An example of a basic boolean check could be:

`isTimesNewRoman:1 isArial:0 . . .

#Once the user selects the preferred font we then ask them for size.

"Size:xxx`

Alternatively, you may use a preexisting font by simply letting the user change the size and automatically reflect it in languages.xml (All languages preferred, but English, French, and Chinese users seem to be the most populous users)

When I have more time, I might create some pull requests or code snippets here to give away some leg-work to implement this assuming that idrassi confirms that he wishes to do so.

ghost avatar Aug 04 '23 02:08 ghost