[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] FAQ Request: Changing font size for Macintosh XWindows

I'm using X11 on a Macintosh to connect to Eclipse 3.3.2 running on Ubuntu, and the documentation (http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/tasks-20.htm) says that to enlarge some fonts that are unreadably small (e.g., for Package Explorer), "use the configuration tools provided by the operating system? .Xdefaults file in Motif". The SWT FAQ (http://www.eclipse.org/swt/faq.php#motiffontsandcolors) gives some more detail for Motif, but not quite enough for me to solve the problem on a Macintosh. The first problem seems to be that /etc/X11/xinit/xinitrc reads Xresources rather than .Xdefaults, though the xrdb instructions may work around that. My second problem was that I couldn't get any of the font examples I found to work, though that of course might be a problem with my font installation. (They work acceptably for Xterm, though.) The only thing I found which worked was "Xft.dpi: 96" (http://www.tummy.com/journals/entries/jafo_20050120_180533), which seems to be a good idea in general for a MacBook Pro screen.
I'd suggest adding some Macintosh-specific suggestions to both the documentation and the FAQ. (Even better, in my opinion, would be to allow configuring all the important fonts, rather than nearly all of them.)