home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / LASER / DJTOOLS.ZIP / DJFONT.DOC < prev    next >
Encoding:
Text File  |  1989-10-27  |  6.7 KB  |  146 lines

  1. DJFont--Laserjet to Deskjet soft font converter
  2. Version 0.3--June 3, 1989
  3. Copyright 1989 Charles Tyson.  All rights reserved.
  4.  
  5.  
  6. (I used to have a much more comprehensive doc file for this program, but it
  7. vanished during my last disk-cleaning frenzy.  If you have any questions
  8. about DJFont, you can contact me via Peoplelink (C-M-T) or Genie (C.Tyson))
  9.  
  10.  
  11. The author grants permission to redistribute DJFont if
  12.    -- the program and this doc file are unaltered and distributed as a unit;
  13.    -- no charge is made for the program (excepting a nominal disk copying
  14.       charge or a standard connect charge for downloading time);
  15.    -- no ownership right in the program is asserted by the redistributor
  16.       against the author.
  17. That last clause means, among other things, that any redistributor must cease
  18. distributing DJFont at the request of the author.  So there.
  19.  
  20. Please note that many soft fonts are copyrighted by their creators, and
  21. cannot legally or ethically be converted unless you've bought the Laserjet
  22. version of the font.
  23.  
  24. I don't ask any compensation for this program, but if it brings incalculable
  25. pleasure to your life and you feel determined to reward me, send me a message
  26. at one of my online addresses.  I'll let you know where to send the check!
  27.  
  28.  
  29. *** PROGRAM NOTES ***
  30.  
  31. DJFont converts soft fonts designed for the Hewlett-Packard Laserjet to the
  32. format used by the HP Deskjet.  It works only on proportional fonts in
  33. portrait mode, and only on sizes up to about 24 point (but that covers most
  34. worthwhile fonts).  I am told that converted fonts also work on the Deskjet
  35. Plus, but haven't tested it myself.
  36.  
  37. DJFont has a single menu controlled by the up and down arrow keys.  Pressing
  38. ENTER selects the highlighted choice.
  39.  
  40. 1.  Convert
  41.  
  42. The "Convert a soft font" option begins by asking you for the name of the
  43. Laserjet font to be converted.  Specify a path if the font file isn't in the
  44. current directory.  The program then makes a cursory check of the file to see
  45. if it looks like a soft font (Note--version 0.3 sometimes crashes if the file
  46. isn't).
  47.  
  48. If the soft font header doesn't have a 16-character description, you will be
  49. prompted to enter one.  This is purely cosmetic.
  50.  
  51. Next you will be prompted for the name of the Deskjet font file to be
  52. created.  Existing files will not be overwritten.  I usually use the name
  53. of the Laserjet file, replacing the extension with ".DJP".
  54.  
  55. The conversion then begins.  The character being converted and the number of
  56. characters remaining are shown on the screen so you can gauge the length of
  57. your coffee break.  Small fonts convert in a couple of minutes on an AT, but
  58. larger fonts can take 10 minutes or more.
  59.  
  60. 2.  Sample
  61.  
  62. The "Print a sample" routine sends a sample of the converted font to the
  63. Deskjet.  Note that the printer is reset after the sample, so this routine
  64. cannot be used to download fonts for regular use.
  65.  
  66. You are prompted for the file name of the converted font.  Very little
  67. checking is done before the file is sent to the printer, so be sure you
  68. specify the converted Deskjet font, not the original Laserjet font!
  69.  
  70. 3.  Widths
  71.  
  72. The "Print character widths" routine asks for the name of a converted font
  73. file, then sends the character widths (in 300ths of an inch) to the printer.
  74. This information is necessary if you plan to construct printer drivers to
  75. use converted fonts.  Although DJFont makes the Deskjet character widths as 
  76. close to the Laserjet widths as possible, some characters end up a little 
  77. wider due to hardware limitations of the Deskjet.
  78.  
  79.  
  80. *** USING CONVERTED FONTS (brief inadequate notes) ***
  81.  
  82. You first need a utility to download soft fonts to the Deskjet.  Most makers
  83. of Laserjet soft fonts provide such a program, and most of these programs
  84. will work with Deskjet soft fonts as well.  There are also some public domain
  85. font downloaders that should work.  Wordperfect 5.0 has the built-in capability
  86. to manage downloads.
  87.  
  88. The more difficult step is to create a printer driver for your word processing
  89. program.  I have done this for Wordperfect 4.1 and 5.0; the process is
  90. tedious (VERY tedious for 5.0, though the resulting driver is much more
  91. powerful), and so many errors are possible that I can't begin to give any 
  92. helpful generalities.  If you want to create a Wordperfect 5.0 driver and
  93. get lost in the details, send me a message at the online services mentioned
  94. above and I'll try to help.
  95.  
  96.  
  97. ------------------------------------------------------------------------------
  98.  
  99.                          NOTES from a user of DJFONT:    
  100.  
  101. by Jerome Schneider   UUCP: atglab!jls
  102.  
  103. After using the program to convert a bunch of the PD laserjet fonts, I
  104. though I might pass on some observations, etc. about the program.   Since
  105. I can not find the original suthor, I suspect there is little chance of
  106. getting the bugs fixed.   Oh well, it's a usable package currently.
  107.  
  108. 1 -  I noticed that some smaller fonts, under 12 points, should be converted
  109. as a one-pass print.  Instead, a Tall font with two passes is created, 
  110. although the upper part of the characters are all zero.  This occured only
  111. on a few fonts, particularly the Bitstream Charter fonts I got with Word
  112. Perfect.   I actually used debug to modify the file, but it was a LOT of
  113. work, probably only needed for often-used fonts.
  114.  
  115. 2 - Many times, a large font about 22 to 24 points will just not be
  116. accepted by the program.  However, the only response is to jump quickly
  117. back to the menu.   If you try to continue, a system error occurs.  I
  118. found that the problem occurs when a font has several characters that
  119. are taller than the 96 dot maximum DeskJet font height.  The documentation
  120. above implies that a message is printed about the font being too large,
  121. but I never see it.
  122.  
  123. 3 - The program will not take a font name from the command line -- you have
  124. to remember the name of the font and type it in when prompted from the
  125. menu.  I realy wanted to apply it from a batch file, but could not.
  126.  
  127. 4 - On larger fonts, the wodth of the SPACE char is converted as a very
  128. big space.  I had to patch the converted file using debug to eliminate
  129. this.  It is not straight-forward, however, so I don't know how to post
  130. a simple method here.
  131.  
  132. 5 - I found out that the test print option seems to fail if the font file
  133. is longer than 32k bytes.  The font file works, but the print option will
  134. not download it properly, aborting very quickly.   In any case, I usually
  135. test the fonts by downloading a bunch of them, then holding the FONT  key
  136. while pressing the RESET button.  This runs the font self-test in the DJ
  137. and prints out any downloaded softfonts.
  138.  
  139.  
  140. If anyone finds the original author, please pass these comments on to him.
  141. Also, it would be nice if he included a mail address, etc. with the
  142. program.
  143.  
  144. JS
  145.  
  146.