Increasing the font size in the GUI/dialogue window

85 views
Skip to first unread message

steppenwolf

unread,
Sep 27, 2023, 8:07:20 PM9/27/23
to idl-pvwave
Is there any way to increase the font size or scale up the size of the window that pops up when you're saving a graphic [https://www.nv5geospatialsoftware.com/docs/GraphicsWindowInterface.html]?

The font is tiny on a 4k display (see attached screengrab). I'm using Ubuntu 20.04.06.

Screenshot from 2023-09-27 20-05-37.png

Chris Torrence

unread,
Sep 28, 2023, 4:20:35 PM9/28/23
to idl-pvwave
Hi, I think you can fix this by adding a ".Xdefaults" file in your home directory.

I'm a bit surprised that the IDL widgets are so tiny, as normally we force everything to be 96 dots-per-inch, regardless of your screen resolution. But maybe things are different on that particular flavor of Ubuntu.

Anyway, in your home directory, create a file (if it doesn't already exist) called .Xdefaults. Inside the file put the following line:
Idl*fontList: lucidasanstypewriter-24

That font called "lucidasanstypewriter-24" may or may not be available on your system, and that size (24 point) might be too small or too big. You can get a list of the available fonts on your machine by using the "xlsfonts" command from a terminal.

Once you've edited the file, use the following command in the terminal to reload the file into Motif:
xrdb .Xdefaults

Then restart IDL and see if that fixes the issue.
Best of luck!
-Chris
NV5 IDL Team Lead

Rohit Chhiber

unread,
May 3, 2024, 1:40:58 PM5/3/24
to Chris Torrence, idl-pvwave
It's been a while since this post, but I wanted to come back and say that this worked well for me. Thanks!
-
Rohit

--
You received this message because you are subscribed to the Google Groups "idl-pvwave" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idl-pvwave+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idl-pvwave/7b72cae8-58e3-4936-98c3-6042120d34b2n%40googlegroups.com.


--
Rohit

Reply all
Reply to author
Forward
0 new messages