home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / books / gdos / gdos.txt
Text File  |  1988-07-23  |  34KB  |  682 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.               EVERYTHING YOU EVER WANTED TO KNOW ABOUT GDOS (AND MORE)
  8.  
  9.                                 by Douglas N. Wheeler
  10.  
  11.  
  12.           WHAT IS GDOS?
  13.  
  14.                GDOS is  an extension  to GEM which adds new capabilities to
  15.           your ST.  GDOS is available with many  commercial Atari programs,
  16.           as well  as to  registered Atari  developers ($500 if it is to be
  17.           distributed with a  product,  free  if  it  is  not  going  to be
  18.           distributed).
  19.           The three primary new capabilities are:
  20.  
  21.                1.  The ability to use multiple fonts in various point sizes
  22.           on the screen, printer, and other output devices.
  23.  
  24.                2.  Allows the creation of metafiles, which are standardized
  25.           files intended to be usable by many different applications.  This
  26.           allows files created in one program to be used in another.
  27.  
  28.                3.  Support for various output  devices with  resolutions up
  29.           to 32,767 x 32,767 (including emulation of this resolution on the
  30.           screen).  This allows  graphics  to  be  printed  at  the highest
  31.           resolution of the output device.
  32.  
  33.  
  34.           HOW TO USE GDOS
  35.  
  36.                In theory,  using GDOS  is as  simple as putting GDOS.PRG in
  37.           your AUTO folder and booting the computer.   In practice, though,
  38.           a series  of conditions must be met.  The most important of these
  39.           conditions is that there must be a valid  ASSIGN.SYS file present
  40.           in the root directory of the boot disk.
  41.                The following is a typical ASSIGN.SYS file.
  42.  
  43.           PATH=C:\GDOS.SYS
  44.           ;
  45.           01p SCREEN.SYS  ; default screen
  46.           ;
  47.           02p SCREEN.SYS  ; low resolution
  48.           ATSS10.FNT      ; fonts
  49.           ATSS12.FNT
  50.           ATSS18.FNT
  51.           ATSS24.FNT
  52.           ATTP10.FNT
  53.           ATTR10.FNT
  54.           ATTR12.FNT
  55.           ATTR18.FNT
  56.           ATTR24.FNT
  57.           ;
  58.           03p SCREEN.SYS  ; medium resolution
  59.           ATSS10CG.FNT
  60.           ATSS12CG.FNT
  61.  
  62.  
  63.  
  64.  
  65.  
  66.           ATSS18CG.FNT
  67.           ATSS24CG.FNT
  68.           ATTP10CG.FNT
  69.           ATTR10CG.FNT
  70.           ATTR12CG.FNT
  71.           ATTR18CG.FNT
  72.           ATTR24CG.FNT
  73.           ;
  74.           04p SCREEN.SYS  ; high resolution
  75.           ATSS10.FNT
  76.           ATSS12.FNT
  77.           ATSS18.FNT
  78.           ATSS24.FNT
  79.           ATTP10.FNT
  80.           ATTR10.FNT
  81.           ATTR12.FNT
  82.           ATTR18.FNT
  83.           ATTR24.FNT
  84.           ;
  85.           21 FX80.SYS  ; Epson 9-pin dot-matrix printer
  86.           ATSS10EP.FNT
  87.           ATSS12EP.FNT
  88.           ATSS18EP.FNT
  89.           ATSS24EP.FNT
  90.           ATTP10EP.FNT
  91.           ATTR10EP.FNT
  92.           ATTR12EP.FNT
  93.           ATTR18EP.FNT
  94.           ATTR24EP.FNT
  95.           ;
  96.           31r META.SYS  ; metafile driver
  97.           ATSS10MF.FNT
  98.           ATSS12MF.FNT
  99.           ATSS18MF.FNT
  100.           ATSS24MF.FNT
  101.           ATTP10MF.FNT
  102.           ATTR10MF.FNT
  103.           ATTR12MF.FNT
  104.           ATTR18MF.FNT
  105.           ATTR24MF.FNT
  106.  
  107.                As  you  can  see,  I  have  divided  the file into distinct
  108.           groups.  The first line of  the ASSIGN.SYS  file is  used to tell
  109.           GDOS where  the fonts  and device drivers are located.  This line
  110.           must always start with PATH= which is followed  by a  pathname of
  111.           up to 64 characters locating the fonts and drivers.
  112.                Following the  path identifying  line is  the list of device
  113.           drivers and their associated  fonts.   Each group  is composed of
  114.           four parts.  First if a number representing the type of device:
  115.  
  116.                01-10  Screen drivers
  117.                11-20  Plotter drivers
  118.                21-30  Printer drivers
  119.                31-40  Metafile drivers
  120.  
  121.  
  122.  
  123.  
  124.  
  125.                41-50  Camera drivers
  126.                51-60  Tablet drivers
  127.  
  128.           The Atari STs have four built-in device drivers, they are:
  129.  
  130.                01   Default screen  (used when  an application doesn't care
  131.           about the screen resolution)
  132.                02  Low resolution screen
  133.                03  Medium resolution screen
  134.                04  High resolution screen
  135.  
  136.                Immediately following the device number may be a "load flag"
  137.           of either  "p" or "r".  A "p" indicates that the device driver is
  138.           "p"ermanent and does not need to be loaded by GDOS.   Because the
  139.           ST has  it's screen  drivers built  into ROM, there will be a "p"
  140.           after devices  01-04.   An "r"  indicates that  the device driver
  141.           should be kept "r"esident, causing GDOS to load the device driver
  142.           immediately and hold it  in  memory.    If  a  load  flag  is not
  143.           present,  GDOS   will  only   load  the  device  driver  when  an
  144.           application opens (accesses) that device.
  145.                After the device number and load flag is the filename of the
  146.           device driver  as it  appears in the disk directory.  In the case
  147.           of ROM-resident drivers, the filename is only a place-holder (but
  148.           must be present).  Keep in mind that the device driver must be in
  149.           the folder specified in the path line.
  150.                On the lines following those three items is a list  of fonts
  151.           associated with  that device  (again, these  are the filenames as
  152.           they appear in the indicated path of the disk).
  153.                You may have noticed a  few  lines  with  semicolons  (;) in
  154.           them.   GDOS will  treat any  text on  a line  to the  right of a
  155.           semicolon as a comment and will ignore it.
  156.                Some ASSIGN.SYS files have  a  device  00  (00p SCREEN.SYS).
  157.           This  can  help  prevent  incompatibilities between GDOS and some
  158.           older (pre-GDOS) programs.  On the  other hand,  including it can
  159.           cause other  problems.   It is  suggested you leave it out unless
  160.           absolutely necessary.
  161.  
  162.  
  163.           EDITING/CREATING ASSIGN.SYS
  164.  
  165.                Now, why would you  want  to  change  your  ASSIGN.SYS file?
  166.           Well, if  you have  just one program which uses GDOS, and you are
  167.           happy with the fonts you have, then there is no  reason to change
  168.           it.   But, now  that GDOS is beginning to be used more on the ST,
  169.           many of us are  acquiring a  collection of  GDOS applications and
  170.           fonts.  By editing or creating a new ASSIGN.SYS, you could create
  171.           a "universal" ASSIGN.SYS and font/driver folder  to be  used with
  172.           all of these programs!
  173.                Luckily, the ASSIGN.SYS file is a standard text (ASCII) file
  174.           which may be edited with most  text editors  and word processors.
  175.           The  only  requirement  is  that  the  file  does not contain any
  176.           formatting codes.   This  can usually  be accomplished  in a word
  177.           processor  by  turning  document  mode off, or selecting "Save as
  178.           text" (check  your word  processor manual  for exact instructions
  179.  
  180.  
  181.  
  182.  
  183.  
  184.           for  doing  this).    If  you  are  using  a text editor, such as
  185.           MicroEmacs or  Tempus,  there  shouldn't  be  any  special saving
  186.           techniques.
  187.                Starting at  the top, the first thing you may want to change
  188.           is the PATH= line at the  beginning of  the ASSIGN.SYS  file.  By
  189.           changing this line, you can put your fonts and printer drivers on
  190.           another disk or hard drive partition (instead of your boot disk).
  191.           If  you  are  using  floppies,  keep  in mind that this directory
  192.           (folder) must be present when an application accesses  any of the
  193.           GDOS devices.   Also,  to speed booting, this directory should be
  194.           present when GDOS is loaded.
  195.                Below is a list  of my  recommended configurations  based on
  196.           what arrangement of disk drives is being used.
  197.  
  198.                One floppy drive:
  199.                     Boot disk (drive A) with:
  200.                          AUTO folder containing GDOS.PRG
  201.                          GDOS.SYS folder containing the fonts and drivers
  202.                          ASSIGN.SYS with PATH=A:\GDOS.SYS
  203.                          Any  GDOS  application(s)  (you may wish to create
  204.                               separate   boot   disks    for    each   GDOS
  205.                               application)
  206.  
  207.                Two floppy drives:
  208.                     Boot disk (drive A) with:
  209.                          AUTO folder containing GDOS.PRG
  210.                          ASSIGN.SYS with PATH=B:\GDOS.SYS
  211.                     Font/driver disk (drive B) with:
  212.                          GDOS.SYS folder containing fonts and drivers
  213.                     Application disk (drive A after booting GDOS) with:
  214.                          Any  GDOS  application(s)  (you may wish to create
  215.                               separate  application  disks  for  each  GDOS
  216.                               application)
  217.  
  218.                Hard drive (booting from floppy):
  219.                     Boot disk (drive A) with:
  220.                          AUTO folder containing hard drive boot program and
  221.                               GDOS.PRG
  222.                          ASSIGN.SYS with PATH=C:\GDOS.SYS
  223.                     Hard drive partition C with:
  224.                          GDOS.SYS folder containing fonts and drivers
  225.                     Any hard drive partition with:
  226.                          Any GDOS application(s) (may be on any partition)
  227.  
  228.                Hard drive (autobooting):
  229.                     Hard drive partition C with:
  230.                          AUTO folder containing GDOS.PRG
  231.                          GDOS.SYS folder containing fonts and drivers
  232.                          ASSIGN.SYS with PATH=C:\GDOS.SYS
  233.                     Any hard drive partition with:
  234.                          Any GDOS application(s) (may be on any partition)
  235.  
  236.                Of  course,   these   are   only   suggestions,   and  other
  237.           configurations   may   be   better  for  different  applications.
  238.  
  239.  
  240.  
  241.  
  242.  
  243.           Hopefully you should now be able to create  other set-ups without
  244.           too much  difficulty.   There are  a few  "musts" that have to be
  245.           observed:
  246.                1.   GDOS.PRG must be in the AUTO folder of the boot disk.
  247.                2.   ASSIGN.SYS must be in  the root  directory of  the boot
  248.           disk.
  249.                3.   The PATH=  line in the ASSIGN.SYS file must contain the
  250.           complete pathname of the folder containing the fonts  and drivers
  251.           (GDOS.SYS  is  Atari's  current name for this folder--previously,
  252.           Atari called it GEMSYS.  You may, of course, choose  any name you
  253.           like).
  254.                4.   The fonts  and drivers  must be in the right place when
  255.           an application tries to open a device.
  256.  
  257.                Adding a new device driver or new fonts is very simple.  All
  258.           you  have  to  do  is  put  the device driver and/or fonts in the
  259.           correct folder (as defined  by PATH=)  then add  the filenames to
  260.           the ASSIGN.SYS file.
  261.  
  262.  
  263.           A BIT ABOUT FONTS
  264.  
  265.                One question  about GDOS fonts that people ask is, "when are
  266.           the fonts loaded?"  Many people are under the impression that all
  267.           the fonts  are loaded when GDOS is initially loaded.  This is not
  268.           true (and cannot be done).   An "r"  load flag  in the ASSIGN.SYS
  269.           file  will  cause  GDOS  to  load only the device driver, not the
  270.           fonts.  Fonts are loaded only after an application opens a device
  271.           and asks  for the  fonts to  be loaded.   At that time, GDOS will
  272.           attempt to load all the fonts for that  device.   If there  is an
  273.           error (can't  find the  find, not  enough memory, etc.) GDOS will
  274.           skip over  that font  and continue  with the  next one.   When an
  275.           application is  through with the fonts, it can "unload" the fonts
  276.           to free up that memory.
  277.                Another fact that many people don't  understand is  that the
  278.           font filename  is irrelevant   to GDOS.  Each font has a "header"
  279.           consisting of various parameters, some of these are:  point size,
  280.           font name,  and a  font ID which is used to identify fonts of the
  281.           same type (i.e. all swiss fonts have the same ID).  Another thing
  282.           to  note  is  that  GDOS  does  not  handle line spacing, this is
  283.           handled by  the application  regardless of  the actual  size of a
  284.           given font.   Some  programs use the point size to determine line
  285.           spacing, and others use the actual height of  the font  (yes, the
  286.           point size can be set different from the actual size).
  287.                For  those  of  you  creating  your  own fonts (with GEMFED,
  288.           FONTZ!, or any other way), you must assign a unique font ID (from
  289.           0 to 32,767) to each of your fonts, and all font of the same type
  290.           (i.e. Times), but of different size, must have the same  ID.  You
  291.           should also  note that  some GDOS applications can only use fonts
  292.           with an ID between 0 and 255.  Because of  this, it  is advisable
  293.           to keep your font IDs in that range.
  294.                Another thing you must know when creating your own fonts, is
  295.           the resolution  of the  devices you  are creating  the fonts for.
  296.           The  following  is  a  list  of  most  of the currently available
  297.  
  298.  
  299.  
  300.  
  301.  
  302.           devices and their resolution.
  303.  
  304.                Low resolution screen    45 x 45 (horizontal  dpi x vertical
  305.           dpi)
  306.                Medium resolution screen  91 x 45
  307.                High resolution screen  91 x 91
  308.                9-pin dot-matrix printer  120 x 144
  309.                24-pin printer  180 x 180 or 360 x 360 (NEC P-series only)
  310.                Laser printer  150 x 150 (some) or 300 x 300
  311.  
  312.                (dpi figures for the screen are approximate)
  313.  
  314.                As you  can see,  most of  these devices have square (round)
  315.           pixels.  This allows for sideways  printing using  the same fonts
  316.           as for  vertical (normal)  printing.  A notable exception to this
  317.           is  with  the  9-pin  dot-matrix  printers,  which  will  distort
  318.           characters when printing them sideways.  Different drivers handle
  319.           this  differently,  they  either  ignore  the   fact  (and  print
  320.           distorted characters  sideways), or they print the left and right
  321.           sides of a horizontal page on two separate  vertical pages, which
  322.           must then be taped together.  The first method is the easier (and
  323.           faster) of the two,  but the  second method  will produce correct
  324.           characters,  and  the  taping  isn't  too bad if you are going to
  325.           photocopy the final product.
  326.                It would be possible to create  separate fonts  for sideways
  327.           printing. but  so far  this has  not been done.  Also, some Epson
  328.           printers have a 144 x 144  dpi mode  (double plotter  mode) which
  329.           could  be  utilized.    This  would  not only allow non-distorted
  330.           sideways printing, but offers  slight  higher  resolution  in the
  331.           horizontal axis.
  332.  
  333.  
  334.           FONT FILENAMES
  335.  
  336.                As I  stated earlier,  font filenames  are not used by GDOS.
  337.           To us humans, though,  consistent filenames  can greatly simplify
  338.           things.   With the  official release  of GDOS  (late 1987), Atari
  339.           adopted a standardized way  of naming  font files.   Here  I will
  340.           explain Atari's idea and add a few extensions.
  341.                A font  filename like  ATSS10EP.FNT may  look meaningless to
  342.           someone who doesn't know how the filename was derived, but is, in
  343.           fact, very functional.
  344.                The   first   and   second  characters  (AT)  indicates  the
  345.           creator/distributor of the font (in this case Atari).   Atari has
  346.           suggested that these characters be "AT" for all fonts used on the
  347.           Atari; this seems meaningless to me,  as I  don't have  any fonts
  348.           for any  other computers  on my  ST disks (why would I?).  I feel
  349.           these two characters can be put  to  better  use  to  specify the
  350.           creator or distributor of the font.
  351.                The third  and fourth characters (SS) identify the typestyle
  352.           (in  this  case  sans  serif).    These  should  be  unique  to a
  353.           particular rendition of a typeface.
  354.                The fifth  and sixth  characters (10) specify the point size
  355.           of the font.  This should  be the  point size  as printed  on the
  356.  
  357.  
  358.  
  359.  
  360.  
  361.           device the  font was  designed for,  not the pixel height.  Also,
  362.           sizes less than 10  should  have  a  leading  zero  (i.e.  06) to
  363.           maintain the overall structure.
  364.                The seventh  and eighth  characters (EP)  specify the device
  365.           for which the font  was designed  (in this  case the  Epson 9-pin
  366.           driver).  If there are no seventh and eighth characters, the font
  367.           is assumed to be for the high-resolution screen.
  368.                The filename extender on all fonts will be .FNT.
  369.                Although not  many companies/individuals  have produced GDOS
  370.           fonts  for  the  ST  (yet),  I  recommend that all font filenames
  371.           follow this convention to avoid confusion.  I also suggest  a few
  372.           standard identifiers:
  373.  
  374.           Creator/distributor:
  375.                AT - Atari
  376.                MG - Migraph*
  377.                TW - Timeworks*
  378.                NC - Neocept*
  379.  
  380.           Typestyles:
  381.                SS - Sans Serif (Atari's Swiss)
  382.                TR - Times Roman (Atari's Dutch)
  383.                TP - Typewriter (Atari)
  384.                DB - Dingbats (Timeworks' Bullets)*
  385.                DL - Drury Lane (Timeworks)*
  386.                MA - Madison (Timeworks)*
  387.                RK - Rockface (Timeworks)*
  388.                RA - Ravinia (Timeworks)*
  389.                CL - Camelot (Neocept)*
  390.  
  391.           Device:
  392.                (none) - Monochrome graphics (high/low resolution screen)
  393.                CG - Color graphics (medium resolution screen)
  394.                EP - Epson 9-pin dot-matrix printer (120 x 144)
  395.                SP - Star NB-15 24-pin dot-matrix printer (180 x 180)
  396.                LB - Atari SMM804 9-pin dot-matrix printer (120 x 144)
  397.                LS - Standard laser printer (300 x 300)
  398.                MF - Metafile
  399.                MG - Monochrome graphics (high/low resolution)*
  400.                NC - NEC P-series 24-pin dot-matrix printer (360 x 360)*
  401.                LL - Low resolution laser printer (150 x 150)*
  402.                LQ - Epson LQ-series 24-pin printers (180 x 180)*
  403.  
  404.                * indicates unofficial representations which I suggest in an
  405.           effort to standardize font filenames, and  to simplify  the whole
  406.           matter.
  407.  
  408.                In many  cases, the creator/distributor is not important, in
  409.           which  case  the  first  four  characters  can  be  used  for the
  410.           typestyle.   You will  also notice  that I have listed typestyles
  411.           from various companies, I have done this because I recommend that
  412.           you rename  all of the font you currently have to match the above
  413.           conventions, this will save you a lot of confusion in  the future
  414.           when you  may have ten times as many fonts.  One thing to note if
  415.  
  416.  
  417.  
  418.  
  419.  
  420.           you  create  a  master  ASSIGN.SYS  file,  is  that  although the
  421.           Timeworks Swiss  and Dutch fonts are different from Atari's, they
  422.           use the same font IDs.  GDOS could get very confused if  you have
  423.           two  fonts  with  the  same  ID  and  point  size.    My personal
  424.           recommendation is to replace Timeworks' Swiss and Dutch  fonts in
  425.           the 10, 12, 18, and 24 point sizes with the ones from Atari, as I
  426.           feel these are much  more professional  and true  to the original
  427.           Helvetica and Times Roman typefaces.
  428.                Because the  font filename convention has changed since GDOS
  429.           was first made available, it is  helpful to  know the  old format
  430.           (which  is  still  being  used  in  many  cases).    The old font
  431.           filenames were laid out as follows:
  432.  
  433.                cccrttpp.FNT
  434.  
  435.                ccc  -    Creator/distributor (for screen fonts,  i.e. MIG =
  436.           Migraph)  or  Device  (for  other  fonts,  i.e. EPS = Epson 9-pin
  437.           printer)
  438.                r    -    Resolution (i.e. L = low res, H=high res)
  439.                tt   -    Typeface (i.e. SS = sans serif, as above)
  440.                pp   -    Point size (as above)
  441.  
  442.  
  443.           METAFILES
  444.  
  445.                Metafiles are theoretically ideal graphics files (keeping in
  446.           mind that text is represented graphically) which can be exchanged
  447.           between different GDOS applications.   Metafiles  are those files
  448.           with a  .GEM extender.  Metafiles are "ideal" in the respect that
  449.           they are  resolution independent.   They  are simply instructions
  450.           for the  computer to recreate a page on any output device at that
  451.           device's highest resolution.   This  is  accomplished  by storing
  452.           commands  for  drawing  lines,  circles,  rectangles, text, etc.,
  453.           unlike most picture files (.NEO, PI?, etc.) which  store the dots
  454.           making up an image.
  455.                Unfortunately,  the  metafile  standard  is  not  being used
  456.           consistently yet.   This  results in  programs not  being able to
  457.           read metafiles  created by  another application.   In most cases,
  458.           the fault lies with the program trying to load the  metafile, not
  459.           the creator.   Many  different parameters  may be  present in the
  460.           header of a metafile, but only a few of these are required.
  461.                Many applications expect (and  need)  some  of  the optional
  462.           parameters to  be present  to properly  represent the  image.  As
  463.           such, they have difficulty loading files  which don't  have these
  464.           parameters.    Currently  Easy-Draw  (version  2.3)  is  the most
  465.           capable of the available GDOS  applications,  and  can  read just
  466.           about any metafile.
  467.                Some of  the more  recent GDOS applications are allowing the
  468.           use of GEM  image  files  (those  ending  in  .IMG).    These are
  469.           bit-mapped  images  similar  to  those  created by the various ST
  470.           paint  programs  (but  without  the  screen  size  and resolution
  471.           limitations).    As  is  the  case  with other paint files, these
  472.           images may be jagged or blocky when printed on a  high resolution
  473.           device.
  474.  
  475.  
  476.  
  477.  
  478.  
  479.                A very  important fact about images in metafiles is that the
  480.           metafile does not actually contain a  copy  of  the  image.   The
  481.           metafile only  contains the  filename of the image on disk.  This
  482.           means that you must not remove the disk containing an image while
  483.           the  metafile  is  being  printed,  and every time you print that
  484.           metafile, the image must be in the same disk (or you will have to
  485.           change your  file).   If GDOS  can't find the image, it will just
  486.           skip over it.  Be warned.
  487.                For all  you programmers,  currently some  programs (such as
  488.           OUTPUT.PRG and  OUTPRINT.PRG) have  difficulty handling metafiles
  489.           with large coordinates.  Try  to  keep  the  coordinate  space as
  490.           small as  possible while still maintaining enough for good output
  491.           quality.
  492.  
  493.  
  494.           MISCELLANEOUS COMMENTS
  495.  
  496.                If you are using the Timeworks Desktop Publisher  ST (TDTP),
  497.           you must  run the  FONTWID.APP program  each time  you modify the
  498.           ASSIGN.SYS file.  Another important  fact  is  that  the relative
  499.           widths  of  the  Timeworks  fonts  are not the same for different
  500.           devices.  What this means is that if  you create  a document with
  501.           TDTP installed for use with an Epson 9-pin printer, then load the
  502.           file into TDTP installed for use with a  laser printer,  the text
  503.           will be  re-flowed.   This may  result in  different page breaks,
  504.           lost text, extra white  space, etc.   The  best solution  to this
  505.           problem is  to create  the document with a TDTP installed for the
  506.           device which will create the final copy.  Another idea  is to use
  507.           Atari's fonts  (if you have them--they are not public domain), as
  508.           the relative sizes between devices is very close (there still may
  509.           be a few differences, but can be fixed readily).
  510.                It should  also be noted that Timeworks' ASSIGN.SYS files is
  511.           a mess.  Apparently they list all the  fonts they  have available
  512.           for all  their device  drivers in one ASSIGN.SYS file.  I suggest
  513.           you create your own based on the information presented here.
  514.  
  515.                For those of you  who have  seen a  lot of  DEGAS Elite GDOS
  516.           fonts floating around, don't get too excited.  For those to print
  517.           properly (even blocky), you must have matching printer  fonts for
  518.           the  screen  fonts.    GEMFED  or  FONTZ!  greatly  simplify this
  519.           process, but if you intend to create a  complete set  of fonts in
  520.           four or five sizes, you will have a lot of work ahead of you.
  521.  
  522.                Anyone  creating   fonts  for  the  general  public  (either
  523.           commercial or public domain), try to  remember that  not everyone
  524.           is using  the same kind of monitor or printer you are.  If at all
  525.           possible, create fonts for all the devices I have listed above.
  526.  
  527.                For those of you creating fonts  with FONTZ!,  you should be
  528.           aware  that  scaling  fonts  may  change  the aspect ratio of the
  529.           characters.  I'll say it again:  Creating high quality fonts is a
  530.           lot of work.  Period.
  531.  
  532.                One thing  I didn't  mention are  metafile fonts.  These are
  533.  
  534.  
  535.  
  536.  
  537.  
  538.           not really  fonts,  but  merely  width  tables  designed  to keep
  539.           correct character spacing in a file when used with different GDOS
  540.           applications.  They are rarely used  and, in  most cases,  can be
  541.           eliminated without any loss of quality.
  542.  
  543.                Because GDOS  has gone through many revisions, there is some
  544.           confusion over which is the  latest.    When  GDOS  is  loaded, a
  545.           message is  displayed on  the screen  saying it is installed, and
  546.           the  version  number.    The  original   GDOS  displayed  "GEMVDI
  547.           Installed".    After  that,  it  switched  to  "GDOS  Version 1.x
  548.           Installed".  The most common were  1.1, 1.2,  1.3, 1.5,  and 1.8.
  549.           The  newest   revisions  of   GDOS  display   "GDOS  RELEASE  1.x
  550.           Installed", with 1.1 being the newest (1.0 is still widely used).
  551.           As you  can see, it is very important to read the boot-up message
  552.           when determining which  revision  you  are  using.    Also,  as a
  553.           sidenote, if  you can't get RELEASE 1.0 or 1.1, you should try to
  554.           avoid Version 1.8, which had some problems.
  555.  
  556.                To  prevent  problems  with  some  of   the  device  drivers
  557.           available,  fonts  should  be  listed  in  the ASSIGN.SYS file in
  558.           ascending order by font ID.   Some device  drivers will  not find
  559.           fonts which are listed out of ID order.
  560.  
  561.                Some  of  the  GDOS  fonts  available  have  the  entire  ST
  562.           character  set  defined,  including  greek,  hebrew,   and  other
  563.           character (most  are unused by the average person).  As you might
  564.           imagine, these take up space, usually, more than 50% of  the font
  565.           file!   So, if  you're running  out of  memory (especially with a
  566.           Mega ST2 and SLM804), you can use FONTZ!  to strip  out the upper
  567.           characters.  Do this by setting the upper ASCII value to 127.
  568.  
  569.                Many  people  who  have  seen  printouts  of  GDOS text have
  570.           complained that the text is blocky.   This  blockiness is usually
  571.           the result  of font  scaling.  If a device driver does not have a
  572.           font available in  the  requested  size,  it  will  use  the next
  573.           smaller size, or it may double the size of a smaller font.  It it
  574.           uses the next smaller size, the  text will  look strange, because
  575.           it  will  have  the  spacing  of  the  requested  size,  with the
  576.           character size of  the  actually  used  size.    When  doubling a
  577.           smaller font, blockiness will occur, and even then, the requested
  578.           size may not be obtained.  The best  solution to  this problem is
  579.           to be  aware of what size fonts are available, and only use those
  580.           in your files.
  581.  
  582.                Currently there are rumors of a future version of GDOS which
  583.           supports scalable  outline (or  vector) fonts.  It's important to
  584.           realize that  GDOS does  not create  the characters.   The device
  585.           drivers are  responsible for  creating the actual characters, and
  586.           could be rewritten to support outline fonts without  any (or very
  587.           minor) changes to GDOS.
  588.  
  589.                Ever since  GDOS was  released for  the ST, people have been
  590.           complaining, saying that GDOS  was supposed  to be  included with
  591.           the ST.   While  Atari may  have planned that originally, I don't
  592.  
  593.  
  594.  
  595.  
  596.  
  597.           believe Atari ever stated publicly that GDOS was  to be included.
  598.           Keep in mind that much of the early ST documentation was based on
  599.           the IBM version of GEM, and reflects DRI's handling of  GDOS, not
  600.           Atari's.
  601.                Also, at  this time,  Atari has no plans to incorporate GDOS
  602.           into the TOS ROMs.
  603.  
  604.  
  605.           GLOSSARY
  606.  
  607.                Aspect Ratio - The relation of width to height.  Maintaining
  608.           a constant  aspect ratio  ensures the same proportions regardless
  609.           of size.
  610.  
  611.                Device (Graphics Device) - Anything used to create some form
  612.           of output, usually on a video screen or printed on paper or film.
  613.  
  614.                Device Driver  - A computer program used to control a device
  615.           as specified by a "master" application.
  616.  
  617.                Font - A typeface of a given style and point size.
  618.  
  619.                GDOS - Graphics Device Operating System; an extension to the
  620.           Atari ST's operating system allowing for the use of various fonts
  621.           and graphics devices.
  622.  
  623.                GEM - Graphics Environment Manager; the portion of  the ST's
  624.           operating  system  which  is  responsible  for most of the visual
  625.           aspects of the ST.
  626.  
  627.                Header - A portion of  a  file  (usually  at  the beginning)
  628.           containing various parameters describing the file.
  629.  
  630.                Line Spacing - The distance between successive line of text,
  631.           usually measured in points.
  632.  
  633.                Parameter -  A number  or other  symbol used  to represent a
  634.           given attribute (dimension, color, direction, size, mode, etc.)
  635.  
  636.                Pixel -  Picture element;  a single dot, usually one of many
  637.           used to create a complete image on a  video screen  or printed on
  638.           paper or film.
  639.  
  640.                Point  -  A  typographical  unit  of  measure; approximately
  641.           1/72".
  642.  
  643.  
  644.           COPYRIGHTS, TRADEMARKS, ETC.
  645.  
  646.                This document is copyright 1988 by  Douglas N.  Wheeler, all
  647.           rights reserved.
  648.  
  649.                This  document  may  be  reproduced  for  non-commercial use
  650.           without further permission.  For commercial  reproduction, please
  651.  
  652.  
  653.  
  654.  
  655.  
  656.           contact the author.
  657.  
  658.                Any  questions  or  comments  about  this  document  can  be
  659.           directed to:
  660.  
  661.                Douglas N. Wheeler
  662.                PSC 3 Box 6096
  663.                Travis AFB, CA  94535
  664.                (707) 437-3786
  665.                GEnie address D.N.WHEELER.
  666.  
  667.                This   document   mentions   several  commercial/copyrighted
  668.           products.   In each  case, it  is to be understood that the names
  669.           are trademarks of their  respective companies  and are  used here
  670.           only as  references.   I am  in no  way connected, either through
  671.           employment or otherwise, to any of these companies.
  672.  
  673.                I cannot be held responsible for any damages  resulting from
  674.           the use  or misuse of the information contained in this document.
  675.           This  document   was  created   for  the   purpose  of  providing
  676.           information, it is up  to the reader to accept responsibility for
  677.           the results of the use of this information.
  678.  
  679.                I'd like  to  thank  Paul  Mazurek,  from  Migraph,  for his
  680.           comments and suggestions for this document.
  681.  
  682.