home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
GR
/
GR030.ZIP
/
T2F.DOC
< prev
next >
Wrap
Text File
|
1987-11-23
|
3KB
|
51 lines
PROGRAM: T2F.EXE Text to Font Conversion Utility
DATE & VERSION: November 23, 1987 version 1.00
AUTHOR: Keith P. Graham
CONTACT: PC Rockland BBS (914) 353-2176
OR: Keith P. Graham
238 Germonds Road
West Nyack, NY 10994
DESCRIPTION: T2F is a program which reads in a text file and a Hewlett
Packard LaserJet soft font file and produces a PC Paintbrush file of
the text file in the soft font letters. The PC Paintbrush file is
2,560 by 6000 and probably will not be readable by PC Paintbrush. I
would suggest using OPTIKS or a similar utility to translate the file.
The maximum width of a line is 8.5 inches at 300 dpi. The longest page
that can be produced is 20 inches at 300 dpi. Since the output of this
program is a PC Paintbrush file, any printer supported by OPTIKS or
PC Paintbrush or any program that can read a PC Paintbrush file can now
print using Hewlett Packard compatible soft fonts. These fonts are
widely available and of a high quality.
USAGE: T2F will prompt the user for the name of an ascii text file and
the name of the output PC Paintbrush file (the user must included the
.PCC file extension). The program will also ask the user for the name
of an HP softfont. This softfont must be a standard format soft font.
Some soft fonts include escape sequences to make the font permanent or
temporary, or to activate the font. T2F will not accept these fonts.
The font will be loaded and checked, as each letter of the font is
read, the letter will appear on the screen. The program will read the
text file, echoing the letters of the file to the screen. At the end
of each line, the program will write out a piece of the graphics output
file. Letters not included in the font will be ignored. Spaces will
print out at the default pitch. The line spacing will be determined
by the letter height as indicated in the font header. There is no other
control over pitch, spacing, justification or leading.
COMMENTS: T2F is a prototype for a program which will produce similar
files, but can mix up to 8 fonts, justify, center, and give absolute
control over such things as kerning. I am writing that program now and
it may take another month. T2F was written to see if I had all of the
pieces working, such as reading fonts, writing PCC files and converting
letters. I will work on rearranging these routines around a text
editor with functions to control the setup of the type.
This program is free to use and distribute as long as it is not altered,
and this documentation is included with it, and no fee is charged for
its use distribution (except when included with libraries of software
distributed for a nominal fee.)