Browse Prior Art Database

Optimize Default Processing for Non-Typographic Fonts

IP.com Disclosure Number: IPCOM000120865D
Original Publication Date: 1991-Jun-01
Included in the Prior Art Database: 2005-Apr-02
Document File: 3 page(s) / 126K

Publishing Venue

IBM

Related People

Carter, KE: AUTHOR [+3]

Abstract

Prior to DisplayWrite* 5/2, default processing for non-typographic fonts was done as part of the print processing, due to the printer and font information not being available until the document was printed. This increased print processing time for each typestyle in a document which was not exactly supported by the printer.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Optimize Default Processing for Non-Typographic Fonts

      Prior to DisplayWrite* 5/2, default processing for
non-typographic fonts was done as part of the print processing, due
to the printer and font information not being available until the
document was printed.  This increased print processing time for each
typestyle in a document which was not exactly supported by the
printer.

      When typographic font support was made available in
DisplayWrite 5/2, it was necessary to associate a document with a
printer and a font set, in order to correctly edit, paginate and
print the document.  In order to do this, a user would set up Font
Sets for each of their printers at installation time.  This Font Set
information is stored in a Font Set file for each of the user's
printers.  When a document is created or revised in DisplayWrite 5/2,
the user can define the Printer and Font Set which should be used to
format the document.

      Since the printer and font set information is available for a
printer at installation time, processing was added to the
installation code to create a defaulting table in the Font Set file.
This defaulting table is used by the DisplayWrite print processing
whenever it is necessary to perform defaulting for non-typographic
fonts.
Defaulting Table in the Font Set File

      For each Font Set defined, there is a Defaulting Table created
in the Font Set file at installation time.  This table contains
values to use when checking if a pitch is supported, and if not, what
to default it to.  The table is in a specific order and each entry
contains the following information:
      pitch value, slot, codepage, offset to typestyle entry

      There are 2 sets of entries for each of the DisplayWrite 5/2
supported pitches (10, 12, psm, 15, 5, 17.1, 8.55).  One entry is for
the character default typestyle and one is for the symbols default
typestyle.  At print processing time, the appropriate entry is chosen
based on the active code page in the document.
Installation defaulting logic:
For each Font Set defined
  For each DW 5/2 supported pitch
 If the pitch is exactly supported by a typestyle in the
 font set
 Set entry information for first typestyle found
 Else if the pitch is not exactly supported
 Do search pitches in the order defined for the
 selected pitch***
 If the pitch is exactly supported by a typestyle in
 the font set
 Set Not supported entry values = supported pitch
 values
 While pitch is not defined and search list not
 exhausted
 End If
   End (Processing one Defaulting Table)
End (Processing all Defaulting Tables)

Default Search Order Table:

                            (Image Omitted)

Print defaulting logic:
Search for exact typestyle number match
If exact typestyle match is found
  Then use the supported typestyle number
Else if exact typestyle match not...