home *** CD-ROM | disk | FTP | other *** search
- DOCUMENTATION FOR HMP2INC.PL
-
- hmp2inc.pl reads a hmp file and constructs a Turbo Pascal typed constant
- of the type HersheyFont.
-
- The syntax to run hmp2inc.pl is
-
- perl hmp2inc.pl [font1.hmp [font2.hmp font3.hmp ...]] > fonts.inc
-
- which will read the information in the files font1.hmp ... and construct
- a constant records for each hmp file. The name of the constant record
- is Hershey<hmp filename>, where <hmp filename> is the name of the <hmp
- filename>.hmp file.
-
- Example:
-
- To use the gothgbt font, run the command
-
- perl hmp2inc.pl gothgbt.hmp > gothgbt.inc
-
- A pascal program that makes use of this font looks like
-
- uses tphersh;
-
- {$i gothgbt.inc}
-
- begin
- HersheySetFont(@HersheyGothgbt);
- end.
-
-
-