On Thu, May 19, 2011 at 4:50 AM, Le Tian <tiane...@gmail.com> wrote: > yes, I checked this and when I "xterm -fn > /usr/share/fonts/my_fancy_font.pcf.gz"; "echo -e "\xA1"" to get my custom > icon, I get a (?) sign, so as it looks like impossible for xterm to show the > value of "A1"(that is my icon index number).
No, you can't use the path to the font. You need to add it to the font path in X and then reference it BY NAME. Set the name when you edit the font, do the xset commands I listed earlier, and try again. If you name your font "myfancyfont", for example, you should be able to refer to it as -*-myfancyfont-*-*-*-*-*-*-*-*-*-*-*-* in xfontsel. If you can't do that, you won't be able to use your font at all outside of the font editor. --Andrew Hills