home *** CD-ROM | disk | FTP | other *** search
- The shell scripts update.sh and ximakedo.sh will update xtroff (the ditroff
- previewer in contrib/clients in the R3 distribution) so that it sort of works
- under R3.
-
- To update, cd to wherever you have xtroff, and run update.sh. It cleans up a
- few unnecessary files, and applies a set of patches - you need to have the
- Larry Wall's patch program installed someplace. (See the util/patch
- directory in the core distribution)
-
- Then edit the ximake script to change the TOPDIR define to wherever the
- toplevel of the core X11R3 distribution is - for us, that's
- /h/xwindows/X.V11R3/core.src. Then run that script when you're in the
- xtroff directory - it generates new Makefiles. (If you are familiar with
- ximake, then you can probably run it by hand)
-
- You can then type 'make'. Should work at least on Suns running SunOS3.5.
-
- Caveats:
- 1. You must install the fonts before you try this out. You need to
- know where ditroff stores the device descriptions and where the
- ditroff makedev program is.
-
- 2. The menus are still broken - they look weird. The key commands
- work, so I'm not even trying to fix the menus for a while. If someone
- who knows more about those menus can fix them, use different menus,
- (xterm, contrib/widgets/MenuBox, or the HP/Sony widgets, please do
- so and let the rest of us know. Thanks.
-
- 3. The Minibuffer works, but you need to move the mouse down into it
- to type - I might sort that out once I figure out how grabs work
- now. Again, I'd welcome explanations/corrections.
-
- ***** 3. I've had at least one server core dump just after running xtroff.
- It could be doing something that R3 Xsun doesn't like, or that
- triggers off a bug in R3 Xsun.
-
- Note that I do not use the nifty new Adobe/DEC/BitStream fonts, but generate
- and use scaled vfonts instead - the changes to some basic assumptions in
- xtroff's font code would take a little more work. I'd welcome a scheme for
- such font mapping.
-
- Thanks to Dave Cahlander <dac%ni.CRAY.COM@uc.msc.umn.edu> for pointing out a
- serious bug in Minibuf and a silly mistake in MakeSunFonts. I enclose a
- comment from him about better fonts.
-
- Enjoy.
- Mark Moraes.
-
- ---------------------------------------------------------------------------
- Date: Mon, 10 Oct 88 00:29:34 EDT
- From: Dave Cahlander <dac%ni.CRAY.COM@uc.msc.umn.edu>
- Message-Id: <8810100429.AA06568@quixote.cray.com>
- To: moraes%csri.toronto.edu@relay.cs.net
- Subject: Re: xtroff on X11R3
- Cc: jlf@ni.cray.com, keith@ni.cray.com
- Status: OR
-
- On another subject, I really don't like what the scale program does
- to fonts. In particular, the devsun.r.10 font derived from /usr/lib/vfonts
- has some torn up characters (M, J, etc.). I have found two sources
- of fonts on the Sun system:
-
- 1. /usr/NeWS/fonts on our system has the following fonts:
- Btn.ff CrrBO32.fb HlvBO32.fb Smb.ff TmsI12.fb
- Btn10.fb CrrO.ff HlvM.ff Smb.fm TmsI14.fb
- Btn12.fb CrrO.fm HlvM32.fb Smb10.fb TmsI18.fb
- Btn18.fb CrrO10.fb HlvO.ff Smb12.fb TmsI24.fb
- Btn30.fb CrrO12.fb HlvO.fm Smb14.fb TmsI26.fb
- Btn35.fb CrrO14.fb HlvO10.fb Smb18.fb TmsI29.fb
- Btn9.fb CrrO16.fb HlvO12.fb Smb24.fb TmsI32.fb
- Crl.ff CrrO18.fb HlvO14.fb Smb32.fb TmsI33.fb
- Crl11.fb CrrO24.fb HlvO18.fb SmbM.ff TmsI38.fb
- Crr.ff CrrO32.fb HlvO24.fb SmbM32.fb TmsI43.fb
- Crr.fm Cursor.ff HlvO32.fb TmsB.ff TmsI47.fb
- Crr1.fb Cursor12.fb HrshCyr.ps TmsB.fm TmsI53.fb
- Crr10.fb Dijkstra.ps HrshGoth.ps TmsB10.fb TmsI57.fb
- Crr12.fb GFont.ff HrshGrk.ps TmsB12.fb TmsI67.fb
- Crr14.fb GFont12.fb HrshGrkN.ps TmsB14.fb TmsI86.fb
- Crr16.fb Hlv.ff HrshGrkp.ps TmsB18.fb TmsR.ff
- Crr18.fb Hlv.fm HrshI.ps TmsB24.fb TmsR.fm
- Crr24.fb Hlv10.fb HrshIN.ps TmsB25.fb TmsR10.fb
- Crr32.fb Hlv12.fb HrshIW.ps TmsB27.fb TmsR12.fb
- Crr6.fb Hlv14.fb HrshRom.ps TmsB30.fb TmsR14.fb
- Crr7.fb Hlv18.fb HrshRomN.ps TmsB32.fb TmsR16.fb
- Crr8.fb Hlv24.fb HrshRomW.ps TmsB34.fb TmsR18.fb
- Crr9.fb Hlv32.fb HrshRomd.ps TmsB39.fb TmsR19.fb
- CrrB.ff Hlv7.fb HrshRomp.ps TmsB44.fb TmsR20.fb
- CrrB.fm Hlv9.fb HrshScr.ps TmsB49.fb TmsR23.fb
- CrrB10.fb HlvB.ff HrshScrN.ps TmsB54.fb TmsR24.fb
- CrrB12.fb HlvB.fm Icon.ff TmsB59.fb TmsR26.fb
- CrrB14.fb HlvB10.fb Icon12.fb TmsB69.fb TmsR28.fb
- CrrB16.fb HlvB12.fb Icon12.vft TmsB89.fb TmsR31.fb
- CrrB18.fb HlvB14.fb Kanji.ff TmsBI.ff TmsR32.fb
- CrrB24.fb HlvB18.fb Kanji16.fb TmsBI.fm TmsR36.fb
- CrrB32.fb HlvB24.fb Kanji24.fb TmsBI10.fb TmsR41.fb
- CrrBO.ff HlvB32.fb Scn.ff TmsBI12.fb TmsR46.fb
- CrrBO.fm HlvBO.ff Scn11.fb TmsBI14.fb TmsR51.fb
- CrrBO10.fb HlvBO.fm Scn13.fb TmsBI18.fb TmsR56.fb
- CrrBO12.fb HlvBO10.fb Scn15.fb TmsBI24.fb TmsR62.fb
- CrrBO14.fb HlvBO12.fb Scn7.fb TmsBI32.fb TmsR72.fb
- CrrBO16.fb HlvBO14.fb ScnB.ff TmsI.ff TmsR9.fb
- CrrBO18.fb HlvBO18.fb ScnB13.fb TmsI.fm TmsR92.fb
- CrrBO24.fb HlvBO24.fb ScnB15.fb TmsI10.fb
- There is a program called "dumpfont" that will change these from
- NeWS format to:
- 1. Adobe (version 1.7)
- 2. vfont
- 3. NeWS
- As you can guess, the old Adobe format is of no use since "fc"
- (now called "bdftosnf") can not read it. I have passed the
- fonts through:
- dumpfont -v
- vf2bdf
- bdftosnf (fc)
- and find that what NeWS calls 14 point font, you call 10 point
- font.
-
- 2. contrib/andrew/overhead/fonts
- Makefile helvetica16b.fdb times10.fdb
- Makefile.orig helvetica16bi.fdb times10b.fdb
- courier10bf.fdb helvetica16i.fdb times10bi.fdb
- courier10bif.fdb helvetica22.fdb times10i.fdb
- courier10f.fdb helvetica22b.fdb times12.fdb
- courier10if.fdb helvetica22bi.fdb times12b.fdb
- courier12bf.fdb helvetica22i.fdb times12bi.fdb
- courier12f.fdb helvetica8.fdb times12i.fdb
- courier8bf.fdb helvetica8b.fdb times16.fdb
- courier8bif.fdb helvetica8bi.fdb times16b.fdb
- courier8f.fdb helvetica8i.fdb times16bi.fdb
- courier8if.fdb symbol10.fdb times16i.fdb
- helvetica10.fdb symbol12.fdb times22.fdb
- helvetica10b.fdb symbol16.fdb times22b.fdb
- helvetica10bi.fdb symbol22.fdb times22bi.fdb
- helvetica10i.fdb symbol8.fdb times22i.fdb
- helvetica12.fdb symbola10.fdb times8.fdb
- helvetica12b.fdb symbola12.fdb times8b.fdb
- helvetica12bi.fdb symbola16.fdb times8bi.fdb
- helvetica12i.fdb symbola22.fdb times8i.fdb
- helvetica16.fdb symbola8.fdb
-
- The andrew 10 point font is the same as the NeWS 12 point
- font. These can be processed by:
- fdbtobdf
- bdftosnf
-
- I have made a Makefile to convert the NeWS fonts to the names
- that are acceptable to xtroff:
- TmsR10.fb -> times.r.10.snf
- and will do the same with the "andrew" fonts. This gives a much
- better quality character.
-
- The problem that I have is that xtroff "knows" about the characters
- in the 01-0x1f range. The NeWS fonts have all special characters
- in the 0x80 and up range. They go beyound 0xff, and dumpfont
- gets rid of the characters above 0xff when translating to a vfont.
-
- The andrew fonts do not have the special characters.
-
- It may be that some hand editing of the bdf files is required.
-
- Well, I'm sorry that this note has gone on for so long. I hope
- that some of the information is useful to you.
-
- Thanks for your help,
- David Cahlander
-
-