---------------------------------------------------------
Third-party soft fonts, Type ID numbers, and LSRFONTS.EXE
---------------------------------------------------------
by Mark C. Petersen
revised 6/4/89
refers to v5.0, and should work for 5.5 as well.

Have a problem with LSRFONTS thinking your Charter font is really LinePrinter?
Or your Avant-Garde font is Tymes Roman?  Have a Souvenir font that LSRFONTS
insists is "Unknown?"

Within the file header of all HP-style soft fonts, there exists a TYPE ID
NUMBER, which is assigned by the program that made the font.  Some programs
may leave this blank.  Others, like Digi-Fonts, allow YOU to specify the
number. Still others make the assignment based on their own ideas, or upon
what they thing H-P has decreed, which (I believe) is the first 25 numbers in
the list below.

WordStar does not select fonts by using the Type ID number -- it selects them
by attribute.

However, strangely enough, LSRFONTS.EXE, WSI's third-party soft font
installer, *does* seem to make a somewhat limited use of only SOME Type ID
numbers.  If your font's Type ID number matches LSRFONTS's list, you're in
like Flint.  But if it doesn't, it can cause difficulty.

The following list is the Type ID numbers that are recognized by LSRFONTS.
It will automatically assign the associated Typeface listed.  Unfortunately,
if the soft font has a *different* Type ID number, LSRFONTS will mis-identify
it.  If the font has 0 as a Type ID number, for example, LSRFONTS will always
assign it the Typeface Name "LinePrinter", no matter what the font actually
is.  Worse, since LSRFONTS does not allow the user to edit the Typeface name,
this will obviously cause problems.

LSRFONTS DOES know about many other typefaces, however -- 176 of them, to be
precise, as listed below.  Since there is no agreed-upon standard for soft
font naming (indeed, since you can create your own from scratch, how could
there be?), the list will always be incomplete.

If the font you want to install IS on the list, but LSRFONTS is
mis-identifying it, you need to edit the Type ID number in the font file
header to match the number in the list.  Grit your teeth, and see "Using
DEBUG" below.

If the font you want to install is NOT on the list, all is not lost, however!
The proper Typeface name CAN be given to a soft font, but ONLY if the font has
a Type ID number that LSRFONTS doesn't recognize!  In other words, the soft
font must be generated with a Type ID number NOT on the list below.

Once the "unknown" Type ID number is detected, LSRFONTS will prompt you to
select one of the 176 names it knows about before it saves the setup to disk.
You select the name (or a typeface similar to it) from the picklist in the
dialog box that pops up as you finish up the session, and everything is
hunky-dory.

Type ID numbers 26-32 are particulary bad -- LSRFONTS recognizes them, but
assigns them NULL typeface names, which of course is not very helpful.  With
numbers 31 and 32, it assigns Menu names, but still NULL Typeface names,
which, again, is not very helpful.

---------------------------------
THE TYPE ID'S LSRFONTS RECOGNIZES
---------------------------------

 0. LinePrinter          14. Swiss              35,81. Raphael
 1. Pica                 15. Dutch              36,80. Uncial           
 2. Elite                16. Century            37,73. Manhattan        
 3. Courier              17. ZapfHumanist       38,71. DomCasual        
 4. Helvetica            18. Garamond           39,70. OldEnglish       
 5. Times                19. Cooper             50. Souvenir            
 6. Gothic               20. Coronet            51. AmericanClassic     
 7. Script               21. Broadway           52. Benguiat            
 8. Prestige             22. Bodoni             58. Symbol              
 9. Caslon               23. CenturySchoolbook  60. GlobeGothi          
 10. Orator              24. UniversityRoman    72. ZapfChancery        
 11. Presentations       25. HelveticaOutline   91. ZapfDingbats        
 12. HelveticaCondensed  33,90. Borders         92. HPLine              
 13. Serifa              34,82. UncleSamOpen    

26,27,28,29,30 show up in LSRFONTS as null Menuname and Typeface         
31. Menuname: Times, null Typeface               
32. Menuname: HPLSof, null Typeface              

-------------
USING DEBUG:
-------------

CAVEAT!!! I know only enough to be dangerous, so if you have doubts about your
"hacking" ability, proceed at your own risk.

For techie-types (of which I am not), it would appear that the Type ID number
is stored at address 0120, i.e., the 33rd byte of the soft font file header.
Using DEBUG, Norton, or whatever, you *should* be able to edit that number
(providing a hexadecimal value), IF your font generator program doesn't let
you assign your own Type ID numbers (or if LSRFONTS is mis-identifying the
font you happened to "acquire").  You do have to know how to count in
Hexadecimal, but just in case you can't, here's a list of the first 25.

 Hex   Dec    Hex   Dec    Hex   Dec   
 00    00     09    09     12    18 
 01    01     0A    10     13    19
 02    02     0B    11     14    20
 03    03     0C    12     15    21
 04    04     0D    13     16    22
 05    05     0E    14     17    23
 06    06     0F    15     18    24
 07    07     10    16     19    25
 08    08     11    17     
                           
To edit your font file, log onto the directory where your font is located, and
invoke DEBUG by typing: DEBUG <filename> and hitting <RET>

At the DEBUG hyphen prompt, type E0120 <RET>

You should see a two-digit number and a period. Type the two-digit HEX number
representing the Type ID you want, and hit <RET>

At the - prompt, type W <RET>

At the - prompt, type Q <RET>

That's it.  The font now has a Type ID that LSRFONTS should be happy with.

-------------------------
NON-LISTED FONTS
-------------------------

When LSRFONTS is updating the .DTU file, when an "Unknown Typeface" is
detected, a dialog box pops up, and you are prompted to select a Typeface name 
to assign from this list.  This is just a screen capture of the list, so 
you'll be prepared!

APL                                  Sans Serif  Alt         Draft
Aachen                               Serif       Normal      Quality
Adobe Collectors Edition1            Sans Serif  Normal      Quality
American Classic                     Serif       Normal      Quality
American Typewriter                  Serif       Normal      Quality
Anelia                               Serif       Normal      Quality
Apollo                               Sans Serif  Normal      Quality
Artisan                              Sans Serif  Normal      Quality
Avant Garde                          Sans Serif  Normal      Quality
Bandit                               Sans Serif  Normal      Quality
Bar Code                             Sans Serif  Alt         Quality
Benguiat                             Serif       Normal      Quality
Bodoni                               Serif       Normal      Quality
Boldface                             Serif       Normal      Draft
Bookman                              Serif       Normal      Quality
Borders                              Sans Serif  Alt         Quality
Broadway                             Display     Normal      Quality
Brougham                             Serif       Normal      Quality
Brush Script                         Script      Normal      Quality
Carta                                Sans Serif  Alt         Quality
Caslon                               Serif       Normal      Quality
Casual                               Sans Serif  Normal      Quality
Centennial                           Serif       Normal      Quality
Century                              Serif       Normal      Quality
Century Old Style                    Serif       Normal      Quality
Century Schoolbook                   Serif       Normal      Quality
Chart                                Sans Serif  Alt         Quality
Cheltenham                           Serif       Normal      Quality
Classic                              Serif       Normal      Quality
Cooper                               Serif       Normal      Quality
Corona                               Serif       Normal      Quality
Coronet                              Display     Normal      Quality
Courier                              Serif       Normal      Quality
Courier Italic                       Serif       Normal      Draft
Data                                 Sans Serif  Normal      Draft
Document                             Sans Serif  Normal      Quality
Dom Casual                           Display     Normal      Quality
Dot                                  Sans Serif  Alt         Quality
Download                             Sans Serif  Normal      Draft
Dutch                                Serif       Normal      Quality
EANUPC                               Sans Serif  Alt         Quality
EDP                                  Sans Serif  Normal      Quality
Elite                                Serif       Normal      Quality
Emperor                              Serif       Normal      Quality
Essay                                Sans Serif  Normal      Quality
Excelsior                            Serif       Normal      Quality
Ext Graphics                         Sans Serif  Alt         Quality
Facet                                Sans Serif  Normal      Quality
Forms                                Sans Serif  Alt         Quality
Franklin Gothic                      Sans Serif  Normal      Quality
Freestyle Script                     Script      Normal      Quality
Friz Quadrata                        Serif       Normal      Quality
Futura                               Sans Serif  Normal      Quality
Futura Condensed                     Sans Serif  Normal      Quality
Galliard                             Serif       Normal      Quality
Garamond                             Serif       Normal      Quality
Garland                              Serif       Normal      Quality
Globe Gothic Outline                 Display     Normal      Quality
Glypha                               Serif       Normal      Quality
Gothic                               Sans Serif  Normal      Quality
Goudy                                Serif       Normal      Quality
Goudy Old Style                      Serif       Normal      Quality
HP Line                              Sans Serif  Alt         Quality
Hamilton                             Sans Serif  Normal      Quality
Helvetica                            Sans Serif  Normal      Quality
Helvetica Compressed                 Sans Serif  Normal      Quality
Helvetica Condensed                  Sans Serif  Normal      Quality
Helvetica Extra Compressed           Sans Serif  Normal      Quality
Helvetica Narrow                     Sans Serif  Normal      Quality
Helvetica Outline                    Display     Normal      Quality
Helvetica Ultra Compressed           Sans Serif  Normal      Quality
High Density                         Sans Serif  Normal      Draft
High Speed                           Sans Serif  Normal      Draft
Hobo                                 Display     Normal      Quality
Holsatia                             Sans Serif  Normal      Quality
Korinna                              Serif       Normal      Quality
Korinna Kursiv                       Serif       Normal      Quality
Letter Gothic                        Sans Serif  Normal      Quality
Line Draw                            Sans Serif  Alt         Quality
Line Printer                         Sans Serif  Normal      Quality
Lubalin Graph                        Serif       Normal      Quality
Lucida                               Serif       Normal      Quality
Lucida Math                          Sans Serif  Alt         Quality
Lucida Sans                          Sans Serif  Normal      Quality
Machine                              Display     Normal      Quality
Manhattan                            Display     Normal      Quality
Math                                 Sans Serif  Alt         Quality
Melior                               Serif       Normal      Quality
Memphis                              Serif       Normal      Quality
Micro                                Sans Serif  Normal      Draft
Modern                               Serif       Normal      Quality
Momento                              Serif       Normal      Quality
Momento Heavy                        Serif       Normal      Quality
Momento Outline                      Display     Normal      Quality
NPS Corr                             Sans Serif  Normal      Quality
NPS Draft                            Sans Serif  Normal      Draft
NPSECS Quality                       Serif       Normal      Quality
NPS Sans Serif Quality               Sans Serif  Normal      Quality
NPS Serif Quality                    Serif       Normal      Quality
NPS Utility                          Sans Serif  Normal      Draft
New Baskerville                      Serif       Normal      Quality
New Century Schoolbook               Serif       Normal      Quality
News Gothic                          Sans Serif  Normal      Quality
OCRA                                 Sans Serif  Normal      Quality
OCRB                                 Sans Serif  Normal      Quality
Old English                          Display     Normal      Quality
Optima                               Sans Serif  Normal      Quality
Orator                               Sans Serif  Normal      Quality
PC Line                              Sans Serif  Alt         Quality
PI                                   Sans Serif  Alt         Quality
PS Corr                              Sans Serif  Normal      Quality
PS Draft                             Sans Serif  Normal      Draft
PS Metal                             Serif       Normal      Quality
PS Plastic                           Serif       Normal      Quality
PS Sans Serif Quality                Sans Serif  Normal      Quality
PS Serif Quality                     Serif       Normal      Quality
PS Utility                           Sans Serif  Normal      Draft
Palatino                             Serif       Normal      Quality
Park Avenue                          Script      Normal      Quality
Pica                                 Serif       Normal      Quality
Presentations                        Sans Serif  Normal      Quality
Prestige                             Serif       Normal      Quality
Prestige Elite                       Serif       Normal      Quality
Profile                              Sans Serif  Normal      Quality
Q Fmt                                Sans Serif  Normal      Quality
Raphael                              Display     Normal      Quality
Revue                                Display     Normal      Quality
Rule                                 Sans Serif  Alt         Quality
Scientific                           Sans Serif  Alt         Quality
Script                               Script      Normal      Quality
Serif                                Serif       Normal      Quality
Serifa                               Serif       Normal      Quality
Sonata                               Sans Serif  Alt         Quality
Sonoran                              Sans Serif  Normal      Quality
Souvenir                             Serif       Normal      Quality
Square                               Sans Serif  Normal      Quality
Stencil                              Display     Normal      Quality
Stone                                Serif       Normal      Quality
Stone Informal                       Serif       Normal      Quality
Stone Sans                           Sans Serif  Normal      Quality
Stone Serif                          Serif       Normal      Quality
Super Focus                          Sans Serif  Normal      Quality
Swiss                                Sans Serif  Normal      Quality
Swiss Display                        Display     Normal      Quality
Swiss Outline                        Display     Normal      Quality
Symbol                               Sans Serif  Alt         Quality
Tax Line Draw                        Sans Serif  Alt         Quality
Taylor                               Serif       Normal      Quality
Tempora                              Serif       Normal      Quality
Text                                 Serif       Normal      Quality
Text Light                           Serif       Normal      Quality
Theme                                Sans Serif  Normal      Quality
Tiffany                              Serif       Normal      Quality
Times                                Serif       Normal      Quality
Times Roman Condensed                Serif       Normal      Quality
Titan                                Serif       Normal      Quality
Title                                Sans Serif  Normal      Quality
Traditional Extra Condensed          Sans Serif  Normal      Quality
Trend                                Serif       Normal      Quality
Triumvirate                          Sans Serif  Normal      Quality
Triumvirate Condensed                Sans Serif  Normal      Quality
Triumvirate Ultra Compressed         Sans Serif  Normal      Quality
Trump Mediaeval                      Serif       Normal      Quality
Uncial                               Display     Normal      Quality
Uncle Sam Open                       Display     Normal      Quality
Univers                              Sans Serif  Normal      Quality
Univers Condensed                    Sans Serif  Normal      Quality
University Roman                     Display     Normal      Quality
Unrecognized Type Style              Sans Serif  Normal      Quality
Vintage                              Serif       Normal      Quality
XCP                                  Sans Serif  Normal      Quality
Zapf Chancery                        Script      Normal      Quality
Zapf Dingbats                        Sans Serif  Alt         Quality
Zapf Humanist                        Sans Serif  Normal      Quality

