home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / PasTeX / bm2font.readme < prev    next >
Text File  |  2014-05-19  |  4KB  |  132 lines

  1. Short: Convert pictures into TeX fonts, in C.
  2.  
  3.  
  4. This is the C port of the Pascal program of the same name by
  5. Friedhelm Sowa <tex@tex@dd0rud81.bitnet>
  6.  
  7. It has been converted to C via p2c, the Pascal-to-C converter written
  8. by  Dave Gillespie, <synaptx!daveg@uunet.UU.NET>
  9. and is  up and running on NeXT, sun sparc (gcc) and rs6000 (gcc).
  10. For these three I provided cc lines in the Makefile
  11.  
  12. New in the list is Mach I386 whatever this means
  13.  
  14.  
  15. Manifest:
  16. ========
  17.  
  18. You should have obtained bm2font.c, p2clib.c, loc.p2clib.c, p2c.h,
  19. and a Makefile.
  20. And the Gnu Public licence.
  21.  
  22. There is a subdirectory "testpix" now, containing a selection of
  23. pictures, some of them out of Friedhelm's manual, by the author's
  24. permission, some others of my own choice, where you might experiment
  25. the different settings (particularly "carina" is extremely difficult!)
  26. and a selection of grayscales for testing.
  27.  
  28.  
  29. Changes against the PC version:
  30. ==============================
  31.  
  32. I took out the preview option (-s) and the pxl file option (-p)
  33. The former has been most PC specific, and would have to be
  34. handled by a bunch of library functions, and for the latter
  35. I don't see a real need today anymore (If you are still hooked,
  36. complain to your dope dealers)
  37. and I removed the interpretation of environment variables, which would
  38. make little sense in a Unix environment.
  39. So everything is handled locally, even if you call
  40. bm2font /pub/gifs/dobie.gif
  41. you will obtain ./dobiea.tfm, ./dobiea.300pk etc.
  42. (and see a fake)
  43. (NeXT and Sony addicts: I left it at 300 by default)
  44.  
  45.  
  46. Tiff Users Attention please 
  47. ===========================
  48.  
  49. There seems to be some babel going on around the name "tiff".
  50. I had the opportunity to try out tifflib and SDSClib
  51. on tiffs, and found out that the current scanner software
  52. on PCs, as well as the examples talk a language entirely
  53. uncomprehensible to them and vice versa.
  54.  
  55. So, if you have tiffs from, say, the Peoples collection, or some
  56. Icon, do convert it to gif before applying bm2font. There is
  57. enough of software ready to do the conversion. Try pbmplus.
  58.  
  59.  
  60.  
  61. Compilation notes:
  62. =================
  63.  
  64. The p2c stuff is intended to go with bm2font since they are modifications
  65. made while mating bm2font to p2c. Mille gracias to Dave for valuable
  66. suggestions.
  67.  
  68. Do not put them into your installed p2c-version, nor replace
  69. them by your installed p2c versions.
  70.  
  71. The sample CC lines that are in the Makefile may fail for you;
  72. the gccs I used may not be the same for you, nor the OS.
  73.  
  74. The defines mentioned in the Makefile refer to entries in p2c.h,
  75. except one: -DINTEL which refers to order of significance stuff
  76. inside bm2font. Set that for intel machines.
  77. For the other defines, try p2c.h for reference.
  78.  
  79. In particular, I know nothing about SysV-systems, so, try your luck.
  80.  
  81.  
  82. Manual:
  83. ======
  84.  
  85. There is no bm2font.1 yet, I do not speak troff.
  86.  
  87. Friedhelm's manual applies to this version, except the changes
  88. mentioned above.
  89. I won't bundle it with this package since it is readily available
  90. on all TeX servers.
  91.  
  92. For printing the manual, you must give to the supplied pks the extension
  93. *.300pk.
  94.  
  95. Note to NeXT and Sony users: For printing the manual, you must give your
  96. dvi-printer the resolution 300. Sony will print it in smallprint,
  97. NeXT built-in PS interpreter scales it up again (and does a
  98. real good job, at that)
  99.  
  100.  
  101. Thanks to:
  102. =========
  103.  
  104. Friedhelm Sowa, who constantly kept me posted to the latest updates
  105. and things yet to do. He was the one to point out that the INTEL switch
  106. was to be a cpp define switch instead a web switch.
  107.  
  108. Dave Gillespie, the author of p2c, who suggested a good many changes
  109. to p2c instead of the fixes I did..
  110.  
  111. Bart Childs and Heinz Werntges who were the first guinea pigs to
  112. test this out
  113.  
  114.  
  115. ===========================================
  116. Well, erh, there are the copyright notices:
  117.  
  118. bm2font is (C) 1991, 1992 by Friedhelm Sowa,
  119. p2c.h, p2clib.c, loc.p2clib.c is
  120.    (C) 1989, 1990, 1991  Free Software Foundation, Inc.
  121. and the Unix port is (A) by mahilata (All Rights Destroyed)
  122.  
  123. ..and
  124. #include <stddisclaim.h>
  125. Specifically, I do not guarantee that you will be able to print
  126. the Kascha series out of a.s.p--I did not keep them for testing:-)
  127. (Really, to me the lyaps out of Northern Norway are more exciting stuff,
  128.  but, perhaps I am a pervert)
  129.  
  130. All complaints please direct to mahilata@vogon.mathi.uni-heidelberg.de
  131. who will most gladly pipe them to /dev/null
  132.