So, I've been looking around on Google and in the FreeBSD Handbook for the last two days in an attempt to get a single font (smoothansi) to be usable in my terminal (xterm, aterm). However, everything I've tried has not worked.
A while back, I remember adding a font to be as easy as:
1) Place font in ${LOCALBASE}/X11/fonts/whatever directory
2) Run an [cmd=]mkfontdir[/cmd] command in said directory
3) Run an [cmd=]xset fp+ /path/to/said/directory[/cmd]
4) Run an [cmd=]xset fp rehash[/cmd] command
5) Restart X
This, however, does not seem to be the case any longer. There are XML files to create/edit as well as some other stuff inside ${LOCALBASE}/etc/fonts that needs to be enabled/edited. Aside from trying the above steps, I've also added the font directory to my Xorg.conf file, I've placed the file in my ~/.fonts directory and ran an [cmd=]fc-cache -v -f[/cmd] and it seems to add it without any issue. I've installed x11-fonts/xfontsel which also sees the font as available, yet when I run [cmd=]aterm -fn smoothansi[/cmd] I get the following error aterm: can't load font "smoothansi". I'm completely stumped as to why I am unable to use this font.
The font, if anyone is interested, is located at http://ww2.purplehat.org/~ek/files/smoothansi.pcf.gz
Can someone please help me figure out what I need to do in order to use this font in X?
Thanks,
Janketh Jay
A while back, I remember adding a font to be as easy as:
1) Place font in ${LOCALBASE}/X11/fonts/whatever directory
2) Run an [cmd=]mkfontdir[/cmd] command in said directory
3) Run an [cmd=]xset fp+ /path/to/said/directory[/cmd]
4) Run an [cmd=]xset fp rehash[/cmd] command
5) Restart X
This, however, does not seem to be the case any longer. There are XML files to create/edit as well as some other stuff inside ${LOCALBASE}/etc/fonts that needs to be enabled/edited. Aside from trying the above steps, I've also added the font directory to my Xorg.conf file, I've placed the file in my ~/.fonts directory and ran an [cmd=]fc-cache -v -f[/cmd] and it seems to add it without any issue. I've installed x11-fonts/xfontsel which also sees the font as available, yet when I run [cmd=]aterm -fn smoothansi[/cmd] I get the following error aterm: can't load font "smoothansi". I'm completely stumped as to why I am unable to use this font.
The font, if anyone is interested, is located at http://ww2.purplehat.org/~ek/files/smoothansi.pcf.gz
Can someone please help me figure out what I need to do in order to use this font in X?
Thanks,
Janketh Jay