5

I'm trying to get a decent (read: not standard X11 load set) font for using xterm on Mac OS X 10.8. I like Bitstream Vera Mono and it is in a file VeraMono.ttf. I have placed this file in my .fonts directory.

Now, if I do xterm -fa VeraMono it works great. But if I put the following in my .Xresources file:

XTerm*facename:     VeraMono

it doesn't work?

Ideas?

5

As grawity pointed out the resource names are case sensitive. According to the xterm man page. Search for renderFont you may need to set a faceSize as well. The following lines should work for your ~/.Xresources

XTerm*renderFont: true
XTerm*faceName: VeraMono
XTerm*faceSize: 10
  • Doh, don't forget xrdb ~/.Xresources – Fuhrmanator Jun 14 at 9:02
2

The resource names are case-sensitive; you must use faceName as in the Xterm manual.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.