home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / LASER / FONTINTO.ZIP / FONTINFO.DOC next >
Encoding:
Text File  |  1987-11-29  |  8.7 KB  |  315 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                     FONTINFO
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                          "Display soft font information"
  26.  
  27.  
  28.  
  29.  
  30.  
  31.                          Copyright 1987 by Gary Elfring
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                                   Gary Elfring
  39.                                    P.O. Box 61
  40.                              Wasco, Illinois  60183
  41.                                   312-377-3520
  42.                                    (9 - 5 CST)
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                             FONTINFO Program
  67.  
  68.  
  69.  
  70.  
  71.  
  72.                                   INTRODUCTION
  73.  
  74.         Ever wanted to check out the characteristics of that public do-
  75.         main font you just downloaded?  Or perhaps you need to know the 
  76.         basics on a fixed width font.  Maybe someone misnamed one of your 
  77.         fonts.
  78.  
  79.         Well... FONTINFO was designed to do all that and more.  FONTINFO 
  80.         will display, (in English, not gibberish), all the basic charac-
  81.         teristics of a font.  This includes: the display font name, font 
  82.         orientation, font height - style - & weight, the number of char-
  83.         acters in the font, its symbol set, spacing, and type face.
  84.  
  85.  
  86.                                RUNNING THE PROGRAM
  87.  
  88.         As with all my LaserJet utilities, you can always type the pro-
  89.         gram name by itself for a help screen.  FONTINFO is quite simple 
  90.         and needs only a single argument to run.  Just give it the name 
  91.         of the font to examine and FONTINFO will print out a detailed 
  92.         description of the font.
  93.  
  94.  
  95.         fontinfo fontname
  96.  
  97.  
  98.         Will print a detailed table of that font's characteristics on the 
  99.         screen.  You can send this information to the printer for a per-
  100.         manent record by using:
  101.  
  102.  
  103.         fontinfo fontname > prn
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.                                    1
  126.  
  127.  
  128.  
  129.                             FONTINFO Program
  130.  
  131.  
  132.         At this point an example might help.  For example to look at the 
  133.         HP Cooper Black font type:
  134.  
  135.  
  136.         fontinfo cb300bpn.usp
  137.  
  138.  
  139.         The program will respond with the following information:
  140.  
  141.  
  142.         Display soft font information,  Version 1.0
  143.  
  144.         Display font name:  CB*300B
  145.         Font orientation:   portrait
  146.         Font height:        29.8 points
  147.         Font style:         Upright
  148.         Font weight:        3  (Bold)
  149.         Characters in font: 127
  150.         Font symbol set:    21  (US ASCII)
  151.         Font spacing:       proportional with a 9.15 point space
  152.         Type face:          19  (Cooper Black)
  153.  
  154.  
  155.         Note that FONTINFO understands all the standard details about 
  156.         type face names, font styles, symbol sets, and font weights.
  157.  
  158.  
  159.                                 FONT INFORMATION
  160.  
  161.         Display Font Name
  162.  
  163.         Just what is the display font name?  If you own a LaserJet series 
  164.         II, this is the name that will be displayed in the font print 
  165.         out.  Note that a number of older HP soft fonts do NOT correctly 
  166.         display their soft font name.  (The example of Cooper Black above 
  167.         one case.)  For most modern soft fonts this should be the name of 
  168.         the font you are using.  Note that the LaserJet II will append 
  169.         the word "bold" or "italic" to this name if the font fits that 
  170.         characteristic.
  171.  
  172.  
  173.         Font Orientation
  174.  
  175.         A font is either oriented in the portrait mode, (characters run 
  176.         left to right across the eight inch width of the paper), or the 
  177.         landscape mode, (characters run left to right across the 11 inch 
  178.         width of the paper.  Note there is no real difference between a 
  179.         portrait and landscape font.  Both produce identical characters.  
  180.         The information in a landscape font is simply arranged different-
  181.         ly.
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.                                    2
  189.  
  190.  
  191.  
  192.                             FONTINFO Program
  193.  
  194.  
  195.         Font Height
  196.  
  197.         This is the height of a font in points.  (72.27 points per inch.)  
  198.         Note that the font height is the distance from the top of an 
  199.         upper case character to the bottom of a lower case character's 
  200.         desender.  Say the top of an "A" to the bottom of a "j".  Thus NO 
  201.         character in the font is that height!  Due to resolution problems 
  202.         in the font height information entry most fonts display as frac-
  203.         tional point sizes: thus a 30 point font might be displayed as 
  204.         29.8 points.
  205.  
  206.  
  207.         Font Style
  208.  
  209.         A font may be either upright or slanted.  A slanted font is usu-
  210.         ally considered to be italic, with some noted exceptions.  
  211.         (Script is a slanted font but is not italic.)  Actually, for the 
  212.         more technically inclined a slanted font is really oblique and 
  213.         not italic but who really cares?
  214.  
  215.  
  216.         Font Weight
  217.  
  218.         Fonts may have weights (how dark they are) ranging from -7 to +7.  
  219.         A weight of 0 is considered medium.  Negative weights are consid-
  220.         ered light, while positive weights are considered bold.  FONTINFO 
  221.         automatically interprets this information for you.
  222.  
  223.  
  224.         Characters in Font
  225.  
  226.         This number describes the range of characters in a font.  A 127 
  227.         indicates that characters may range from 33 - 127.  A 254 font 
  228.         can contain all those characters PLUS characters ranging from 160 
  229.         - 254.
  230.  
  231.  
  232.         Font Symbol Set
  233.  
  234.         The symbol set describes the assignment of characters within a 
  235.         font.  Most soft fonts are either US ASCII or Roman-8.  However, 
  236.         a large number of other symbol sets are possible.  The symbol set 
  237.         number is printed followed by an interpretation of that symbol 
  238.         set.  FONTINFO understands the names of over 17 different symbol 
  239.         sets and will display this information automatically or the word 
  240.         "unknown".
  241.  
  242.  
  243.         Font Spacing
  244.  
  245.         Font spacing may be either fixed width or proportional.  If the 
  246.         font is proportionally spaced FONTINFO will tell you this along 
  247.         with the width of a space character in that font.  If the font is 
  248.         fixed width, FONTINFO will display the number of characters per 
  249.  
  250.  
  251.                                    3
  252.  
  253.  
  254.  
  255.                             FONTINFO Program
  256.  
  257.  
  258.         inch for that file.
  259.  
  260.  
  261.         Type Face
  262.  
  263.         A font may have a type face number ranging from 0 to 255.  Font 
  264.         numbers 0 - 26 have been assigned by HP and will be translated by 
  265.         FONTINFO into their corresponding names.  Other font names will 
  266.         result in the word "unknown" being printed for the font name.
  267.  
  268.  
  269.                                     WARRANTY
  270.  
  271.         This utility is provided free of charge. As such, it has NO war-
  272.         ranty. I bear no responsibility for its function or use. I am
  273.         not liable for consequential or any form of damages due to non-
  274.         performance of this software.
  275.  
  276.  
  277.                                   DISTRIBUTION
  278.  
  279.         This program is provided free of charge to all who are interested 
  280.         in it. It may be freely exchanged as long as no fee is charged 
  281.         for it. Please distribute this package with BOTH this documenta-
  282.         tion file and the executable program. This program and documen-
  283.         tation are copyright 1987 by Gary Elfring. All rights are re-
  284.         served. Commercial use is STRICTLY prohibited.
  285.  
  286.         An enhanced version of this program, and a number of other utili-
  287.         ties and soft fonts are available for quite reasonable fees.  
  288.         These utilities include: DOWNLOAD- my soft font download program, 
  289.         MOVECHAR- move a character from one soft font to another (comes 
  290.         with symbol sets), ROTATE- change a font from portrait to land-
  291.         scape, and EDITHEAD- change the font information in a program.
  292.  
  293.         I also offer a number of soft fonts including: special symbol 
  294.         sets, credit cards, families of Helvetica like, Roman Times, 
  295.         Script, & Olde English fonts, and a number of special Title font 
  296.         families.  I also have available sets of fixed width Roman Times 
  297.         fonts in 8, 10, 12, 14, 21, & 23 pitch.
  298.  
  299.         For free information on these inexpensive utilities and download-
  300.         able soft fonts for you LaserJet contact:
  301.  
  302.                                   Gary Elfring
  303.                                    P.O. Box 61
  304.                            Wasco, Illinois  60183-0061
  305.                                   312-377-3520
  306.                                    (9 - 5 CST)
  307.  
  308.                                     11/29/87
  309.  
  310.  
  311.  
  312.  
  313.  
  314.                                    4
  315.