home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume2 / xtroff / patch3 / CHANGES.R3 next >
Encoding:
Text File  |  1988-11-14  |  6.8 KB  |  167 lines

  1. The shell scripts update.sh and ximakedo.sh will update xtroff (the ditroff
  2. previewer in contrib/clients in the R3 distribution) so that it sort of works
  3. under R3.
  4.  
  5. To update, cd to wherever you have xtroff, and run update.sh. It cleans up a
  6. few unnecessary files, and applies a set of patches - you need to have the
  7. Larry Wall's patch program installed someplace. (See the util/patch
  8. directory in the core distribution)
  9.  
  10. Then edit the ximake script to change the TOPDIR define to wherever the
  11. toplevel of the core X11R3 distribution is - for us, that's
  12. /h/xwindows/X.V11R3/core.src. Then run that script when you're in the 
  13. xtroff directory - it generates new Makefiles. (If you are familiar with
  14. ximake, then you can probably run it by hand)
  15.  
  16. You can then type 'make'. Should work at least on Suns running SunOS3.5.
  17.  
  18. Caveats:
  19.     1. You must install the fonts before you try this out. You need to
  20.     know where ditroff stores the device descriptions and where the 
  21.     ditroff makedev program is.
  22.  
  23.     2. The menus are still broken - they look weird. The key commands
  24.     work, so I'm not even trying to fix the menus for a while. If someone
  25.     who knows more about those menus can fix them, use different menus,
  26.     (xterm, contrib/widgets/MenuBox, or the HP/Sony widgets, please do 
  27.     so and let the rest of us know. Thanks.
  28.  
  29.     3. The Minibuffer works, but you need to move the mouse down into it
  30.     to type - I might sort that out once I figure out how grabs work
  31.     now. Again, I'd welcome explanations/corrections.
  32.  
  33. *****    3. I've had at least one server core dump just after running xtroff.
  34.     It could be doing something that R3 Xsun doesn't like, or that
  35.     triggers off a bug in R3 Xsun.
  36.  
  37. Note that I do not use the nifty new Adobe/DEC/BitStream fonts, but generate
  38. and use scaled vfonts instead - the changes to some basic assumptions in
  39. xtroff's font code would take a little more work. I'd welcome a scheme for
  40. such font mapping.
  41.  
  42. Thanks to Dave Cahlander <dac%ni.CRAY.COM@uc.msc.umn.edu> for pointing out a
  43. serious bug in Minibuf and a silly mistake in MakeSunFonts. I enclose a
  44. comment from him about better fonts.
  45.  
  46. Enjoy.
  47.     Mark Moraes.
  48.  
  49. ---------------------------------------------------------------------------
  50. Date:     Mon, 10 Oct 88 00:29:34 EDT
  51. From: Dave Cahlander <dac%ni.CRAY.COM@uc.msc.umn.edu>
  52. Message-Id: <8810100429.AA06568@quixote.cray.com>
  53. To: moraes%csri.toronto.edu@relay.cs.net
  54. Subject: Re: xtroff on X11R3
  55. Cc: jlf@ni.cray.com, keith@ni.cray.com
  56. Status: OR
  57.  
  58. On another subject, I really don't like what the scale program does
  59. to fonts.  In particular, the devsun.r.10 font derived from /usr/lib/vfonts
  60. has some torn up characters (M, J, etc.).  I have found two sources
  61. of fonts on the Sun system:
  62.  
  63.     1. /usr/NeWS/fonts on our system has the following fonts:
  64. Btn.ff        CrrBO32.fb    HlvBO32.fb    Smb.ff        TmsI12.fb
  65. Btn10.fb    CrrO.ff        HlvM.ff        Smb.fm        TmsI14.fb
  66. Btn12.fb    CrrO.fm        HlvM32.fb    Smb10.fb    TmsI18.fb
  67. Btn18.fb    CrrO10.fb    HlvO.ff        Smb12.fb    TmsI24.fb
  68. Btn30.fb    CrrO12.fb    HlvO.fm        Smb14.fb    TmsI26.fb
  69. Btn35.fb    CrrO14.fb    HlvO10.fb    Smb18.fb    TmsI29.fb
  70. Btn9.fb        CrrO16.fb    HlvO12.fb    Smb24.fb    TmsI32.fb
  71. Crl.ff        CrrO18.fb    HlvO14.fb    Smb32.fb    TmsI33.fb
  72. Crl11.fb    CrrO24.fb    HlvO18.fb    SmbM.ff        TmsI38.fb
  73. Crr.ff        CrrO32.fb    HlvO24.fb    SmbM32.fb    TmsI43.fb
  74. Crr.fm        Cursor.ff    HlvO32.fb    TmsB.ff        TmsI47.fb
  75. Crr1.fb        Cursor12.fb    HrshCyr.ps    TmsB.fm        TmsI53.fb
  76. Crr10.fb    Dijkstra.ps    HrshGoth.ps    TmsB10.fb    TmsI57.fb
  77. Crr12.fb    GFont.ff    HrshGrk.ps    TmsB12.fb    TmsI67.fb
  78. Crr14.fb    GFont12.fb    HrshGrkN.ps    TmsB14.fb    TmsI86.fb
  79. Crr16.fb    Hlv.ff        HrshGrkp.ps    TmsB18.fb    TmsR.ff
  80. Crr18.fb    Hlv.fm        HrshI.ps    TmsB24.fb    TmsR.fm
  81. Crr24.fb    Hlv10.fb    HrshIN.ps    TmsB25.fb    TmsR10.fb
  82. Crr32.fb    Hlv12.fb    HrshIW.ps    TmsB27.fb    TmsR12.fb
  83. Crr6.fb        Hlv14.fb    HrshRom.ps    TmsB30.fb    TmsR14.fb
  84. Crr7.fb        Hlv18.fb    HrshRomN.ps    TmsB32.fb    TmsR16.fb
  85. Crr8.fb        Hlv24.fb    HrshRomW.ps    TmsB34.fb    TmsR18.fb
  86. Crr9.fb        Hlv32.fb    HrshRomd.ps    TmsB39.fb    TmsR19.fb
  87. CrrB.ff        Hlv7.fb        HrshRomp.ps    TmsB44.fb    TmsR20.fb
  88. CrrB.fm        Hlv9.fb        HrshScr.ps    TmsB49.fb    TmsR23.fb
  89. CrrB10.fb    HlvB.ff        HrshScrN.ps    TmsB54.fb    TmsR24.fb
  90. CrrB12.fb    HlvB.fm        Icon.ff        TmsB59.fb    TmsR26.fb
  91. CrrB14.fb    HlvB10.fb    Icon12.fb    TmsB69.fb    TmsR28.fb
  92. CrrB16.fb    HlvB12.fb    Icon12.vft    TmsB89.fb    TmsR31.fb
  93. CrrB18.fb    HlvB14.fb    Kanji.ff    TmsBI.ff    TmsR32.fb
  94. CrrB24.fb    HlvB18.fb    Kanji16.fb    TmsBI.fm    TmsR36.fb
  95. CrrB32.fb    HlvB24.fb    Kanji24.fb    TmsBI10.fb    TmsR41.fb
  96. CrrBO.ff    HlvB32.fb    Scn.ff        TmsBI12.fb    TmsR46.fb
  97. CrrBO.fm    HlvBO.ff    Scn11.fb    TmsBI14.fb    TmsR51.fb
  98. CrrBO10.fb    HlvBO.fm    Scn13.fb    TmsBI18.fb    TmsR56.fb
  99. CrrBO12.fb    HlvBO10.fb    Scn15.fb    TmsBI24.fb    TmsR62.fb
  100. CrrBO14.fb    HlvBO12.fb    Scn7.fb        TmsBI32.fb    TmsR72.fb
  101. CrrBO16.fb    HlvBO14.fb    ScnB.ff        TmsI.ff        TmsR9.fb
  102. CrrBO18.fb    HlvBO18.fb    ScnB13.fb    TmsI.fm        TmsR92.fb
  103. CrrBO24.fb    HlvBO24.fb    ScnB15.fb    TmsI10.fb
  104.     There is a program called "dumpfont" that will change these from
  105.     NeWS format to:
  106.         1. Adobe (version 1.7)
  107.         2. vfont
  108.         3. NeWS
  109.     As you can guess, the old Adobe format is of no use since "fc"
  110.     (now called "bdftosnf") can not read it.  I have passed the
  111.     fonts through:
  112.         dumpfont -v
  113.         vf2bdf
  114.         bdftosnf (fc)
  115.     and find that what NeWS calls 14 point font, you call 10 point
  116.     font.
  117.  
  118.     2. contrib/andrew/overhead/fonts
  119. Makefile        helvetica16b.fdb    times10.fdb
  120. Makefile.orig        helvetica16bi.fdb    times10b.fdb
  121. courier10bf.fdb        helvetica16i.fdb    times10bi.fdb
  122. courier10bif.fdb    helvetica22.fdb        times10i.fdb
  123. courier10f.fdb        helvetica22b.fdb    times12.fdb
  124. courier10if.fdb        helvetica22bi.fdb    times12b.fdb
  125. courier12bf.fdb        helvetica22i.fdb    times12bi.fdb
  126. courier12f.fdb        helvetica8.fdb        times12i.fdb
  127. courier8bf.fdb        helvetica8b.fdb        times16.fdb
  128. courier8bif.fdb        helvetica8bi.fdb    times16b.fdb
  129. courier8f.fdb        helvetica8i.fdb        times16bi.fdb
  130. courier8if.fdb        symbol10.fdb        times16i.fdb
  131. helvetica10.fdb        symbol12.fdb        times22.fdb
  132. helvetica10b.fdb    symbol16.fdb        times22b.fdb
  133. helvetica10bi.fdb    symbol22.fdb        times22bi.fdb
  134. helvetica10i.fdb    symbol8.fdb        times22i.fdb
  135. helvetica12.fdb        symbola10.fdb        times8.fdb
  136. helvetica12b.fdb    symbola12.fdb        times8b.fdb
  137. helvetica12bi.fdb    symbola16.fdb        times8bi.fdb
  138. helvetica12i.fdb    symbola22.fdb        times8i.fdb
  139. helvetica16.fdb        symbola8.fdb
  140.  
  141.     The andrew 10 point font is the same as the NeWS 12 point
  142.     font.  These can be processed by:
  143.         fdbtobdf
  144.         bdftosnf
  145.  
  146. I have made a Makefile to convert the NeWS fonts to the names
  147. that are acceptable to xtroff:
  148.     TmsR10.fb -> times.r.10.snf
  149. and will do the same with the "andrew" fonts.  This gives a much
  150. better quality character.
  151.  
  152. The problem that I have is that xtroff "knows" about the characters
  153. in the 01-0x1f range.  The NeWS fonts have all special characters
  154. in the 0x80 and up range.  They go beyound 0xff, and dumpfont
  155. gets rid of the characters above 0xff when translating to a vfont.
  156.  
  157. The andrew fonts do not have the special characters.
  158.  
  159. It may be that some hand editing of the bdf files is required.
  160.  
  161. Well, I'm sorry that this note has gone on for so long.  I hope 
  162. that some of the information is useful to you.
  163.  
  164. Thanks for your help,
  165. David Cahlander
  166.  
  167.