SDL_ShowSimpleMessageBox font size

I was wondering if it’s possible to increase the font size of the message text rendered by SDL_ShowSimpleMessageBox function?

For example, in the message text the current height of a letter ‘L’ on my screen is 1.3mm (0.051 inch") which is very hard to read. On a bigger monitor (21"?) it would be more acceptable. I’m using the message box for application errors showing the file path to a log.txt file. The application may be run on smaller screens. It would be great if the text was a bit larger.


  • Dell Latitude
  • i5 Gen 6 CPU
  • Mesa Intel® HD Graphics 520 (SKL GT2) GPU
  • 14" 1920x1080 screen
  • Ubuntu 20.04.3 LTS
  • Gnome 3.36.8 on x11 with 100% text scaling

Full screen 1920x1080 screen shot below.

Thanks in advance!

1 Like