Correcting the resolution or dpi in cgx

Is there any way to tweak/modify the resolution or dpi in cgx? When I run cgx on a screen with 4K resolution, the text is tiny and I can barely read it by squinting my eyes. Is there any other tweaks or tools that I can use to scale up the dpi in cgx?

only the ‘font’ command to slightly increase or decrease the font size

Thank you, Klaus. I can use the ‘font’ command to increase the fonts in the legend. However, I cannot change the font of the commands at the tooltips available on right click, which is what I was after. Any suggestions? Can I change anything and re-compile?