jorgy@boulder.Colorado.EDU (Eric R. Jorgensen) (02/07/90)
Being more accustomed to the mit-style of X11 servers and fonts, I am unfamiliar with the cnf font format used in HPUX. The problem I am having is simply how do I add a font? The font I have is in bdf format. In mit land, one simply runs bdftosnf, runs mkfontdir, and does an xset fp rehash. I can't figure out how to do this with cnf fonts. I've read the (appropriate?) manuals, but haven't been able to find the information I need. Thanks in advance, jorgy Eric R. Jorgensen internet: jorgy@boulder.colorado.edu UnixOps/Distributed Computing Services bitnet: jorgy@colorado.BITNET University of Colorado, Boulder uucp: ...!{ncar|nbires}!boulder!jorgy
ware inside of X Termide of X Term (02/08/90)
/ hpcvlx:comp.sys.hp / jorgy@boulder.Colorado.EDU (Eric R. Jorgensen) / 3:59 pm Feb 6, 1990 / Being more accustomed to the mit-style of X11 servers and fonts, I am unfamiliar with the cnf font format used in HPUX. The problem I am having is simply how do I add a font? The font I have is in bdf format. In mit land, one simply runs bdftosnf, runs mkfontdir, and does an xset fp rehash. I can't figure out how to do this with cnf fonts. I've read the (appropriate?) manuals, but haven't been able to find the information I need. Thanks in advance, jorgy Eric R. Jorgensen internet: jorgy@boulder.colorado.edu UnixOps/Distributed Computing Services bitnet: jorgy@colorado.BITNET University of Colorado, Boulder uucp: ...!{ncar|nbires}!boulder!jorgy ---------- By "cnf" do you mean "scf"? The HP-UX X11 server uses the same font formats as MIT. To save disk space, we also allow the ".snf" font to be passed through compress(1) resulting in a ".scf" font. The HP server will accept fonts in ".bdf", ".snf" or ".scf" format and do whatever magic is necessary to use the font. I.e., a ".bdf" font will be run through bdftosnf(1) and a ".scf" font will be run through uncompress(1) by the server. Steve Hiebert HP ITO R&D Corvallis, OR
chan@hpfcmgw.HP.COM (Chan Benson) (02/08/90)
> Being more accustomed to the mit-style of X11 servers and fonts, I am > unfamiliar with the cnf font format used in HPUX. The problem I am > having is simply how do I add a font? The font I have is in bdf format. > > In mit land, one simply runs bdftosnf, runs mkfontdir, and does an > xset fp rehash. This should work on HP as well. A cnf font is just a snf font that's been run through compress. If you want to make a cnf font, just do compress < font.snf > font.cnf -- Chan Benson HP Fort Collins chan@hpfcmi.hp.com
ken@hpubrcf.HP.COM (Ken Green) (02/08/90)
> Being more accustomed to the mit-style of X11 servers and fonts, I am > unfamiliar with the cnf font format used in HPUX. The problem I am > having is simply how do I add a font? The font I have is in bdf format. > > In mit land, one simply runs bdftosnf, runs mkfontdir, and does an > xset fp rehash. > > I can't figure out how to do this with cnf fonts. I've read the > (appropriate?) manuals, but haven't been able to find the information > I need. CNF font files are just compressed SNF files. try :- compress < font.snf > font.cnf Hope this helps Ken Green --ukcrc--