home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / winfon.zip / WIN2FONT.TXT
Text File  |  1988-01-03  |  2KB  |  39 lines

  1.  
  2.                           Dave Staehlin
  3.                      Sysop, The SSE Surf Board
  4.                         Huntington Beach, CA
  5.                      Public Access (714)963-7864
  6.  
  7. I've recently been playing around with downloadable fonts for
  8. the HP LaserJet and Microsoft's Windows.  Windows 2.0 supports
  9. downloadable fonts for the LaserJet and allows the user to build
  10. libraries of download font sets through a utility called
  11. PCLPFM.EXE.  PCBPFM builds a font file that Windows reads at
  12. initialization.  Windows than makes those fonts available to any
  13. program that knows about system fonts.
  14.  
  15. This is all well and good but it seems that many fonts in the
  16. public domain 'bomb'  when processed with the PCLPFM utility.  I
  17. did a bit of digging anf discovered the reason:  PCLPFM looks to
  18. the Typeface Byte in the download font file to determine if a
  19. default typeface has been selected.  If so, it uses that.  The
  20. conflict is that some of the PD download fonts use that byte for
  21. some unknown reason.  If that byte is changed back to a known
  22. value, PCLPFM can then properly convert the font.
  23.  
  24. Symptom:  You know you're in trouble when the PCLPFM utility
  25. already "knows" what typeface and family your font belongs to.
  26. Normally the program pauses and asks the user for that
  27. information.  If it doesn't, you have a "bad" font.
  28.  
  29. Cure:  Go into the font file with some sort of binary editor -
  30. I'll recommend Norton Utilities (Although there are some Public
  31. Domain editors that can certainly do it as well).  Find the 32nd
  32. byte in the file (normally listed as offset 31 from the front of
  33. the file ( Byte 1 is offset 0, remember?) and change the value
  34. to a space (hex value 20).  PCLPFM can then properly convert the
  35. font for its use.
  36.  
  37. Happy printing..........
  38.  
  39.