nexus |
These days I have mostly switched over to using Anonymous Pro.
Here's the .bdf version of this font, which contains a tweak to the letter "F", which I had always found to be difficult to parse visually.
The nexus font was in .pcf format. I found a font editor in the ports tree, xfed. It worked with .bdf fonts, but not .pcf fonts. Fortunately I also found pcf2bdf in the ports tree.
Then I tried to open the .bdf in in xfed, but was getting errors:
So I looked in the file I found it was plain text (hooray!), and found some lines that were empty, the first of which was line 5. When I looked in a few other bdf files, I saw no such lines. So I opened up the font in emacs and removed the blank line at line 5, and the got an error for the line before the next blank line. So I just removed all the blank lines, and then I was able to open the font in xfed.
I also took the liberty of editing the F character, which has always been a minor source of annoyance for me. I named my new version of the font wunexus.bdf
One other thing I did was corrected the name of the font by directly editing the .bdf so that it was properly named, which I'm hoping will increase it's ability to play along with some other tools.
And I also changed:
I then copied the font into my font directory on OsX. You can add an additional directory to your font path like so:
and rehashed my font path to pick up the new font:
After that, my font shows up properly in xlsfonts:
And I was able to view my font with xfd:
Success!!! I was also able to start emacs using the new font in my .Xdefaults file:
which was exactly why I started this exercise!
My last step was to use fondu to convert the font to a mac friendly format, but I was never able to successfully convert the file. So I just used the fonts in X11 emacs and Eterm on os x... and then lots of time went by...
Then last week I installed 10.4, and a few more of my major annoyances about the OS X terminal have been fixed. But I spent hours looking through pixel font sites, and nothing compared to the readability and density of the nexus. So I had to find a way.
Finally after lots of playing around in fontforge, I was able to convert the file to a mac .dfont that worked great in OS X. The improvements in the font importing in 10.4 really helped me identify my problems. I had to recenter all the characters by hand, but it's now working great in the OS X terminal!
There are still some bugs, which can probably be attributed to my lack of font fu...