GLTerm is a very nice Terminal replacement, the only one which runs mc flawlessly. Unfortunately, the choice of fonts is quite limited. To use custom fonts in GLTerm you need:
Start X11, go to the xterm window. You can see if your font name is correct by executing /usr/xterm -fn [fontname]. If you see no error message and you like the font in the new xterm window, you may proceed. Execute getbdf -font [fontname] > [newfontname].bdf in xterm.
Note the redirection (>), getbdf outputs to stdout by default. Copy the resulting .bdf file to /Applications -> GLterm.app -> Contents -> fonts (if your GLterm is in /Applications), either in the console or through Control-Click and Show Package Contents in the Finder. Restart GLterm, go to Preferences -> Appearance, and your custom font should be available in the list.
[Editor's note: I tested this hint, and it works as expected, although it's a bit more complex than expected. The one thing that threw me at first is that there are subdirectories in the "fonts" folder, and it's those subdirectories that hold the fonts.dir and fonts.alias files. To find all the files easily, just type:
- Installed X11 from Apple or through fink
- The getbdf utility (click here to download)
Start X11, go to the xterm window. You can see if your font name is correct by executing /usr/xterm -fn [fontname]. If you see no error message and you like the font in the new xterm window, you may proceed. Execute getbdf -font [fontname] > [newfontname].bdf in xterm.
Note the redirection (>), getbdf outputs to stdout by default. Copy the resulting .bdf file to /Applications -> GLterm.app -> Contents -> fonts (if your GLterm is in /Applications), either in the console or through Control-Click and Show Package Contents in the Finder. Restart GLterm, go to Preferences -> Appearance, and your custom font should be available in the list.
[Editor's note: I tested this hint, and it works as expected, although it's a bit more complex than expected. The one thing that threw me at first is that there are subdirectories in the "fonts" folder, and it's those subdirectories that hold the fonts.dir and fonts.alias files. To find all the files easily, just type:
% cd /usr/X11R6/lib/X11/fontsThis will list all the fonts.dir and fonts.alias files in the various subdirectories. When you're looking in those files, the names of the font is quite long. For example, in the fonts.dir file in the "misc" subdirectory, a random font name is:
% find . -name "fonts.*"
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1You need to use that entire string as the name of your font in order for this to work. When you use the redirect, give it a nice short name!]
•
[2,907 views]

