Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Faxual II for CA-Clipper - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 Font Files

    Faxes are basically graphics.  Writing text onto a fax page really means
    drawing pictures of the characters that make up the text.  The pictures
    come from a font file.

    Some font files are supplied with Faxual II.  You can create others from
    Windows scalable fonts using the conversion program included with Faxual
    II.

 Font Attributes

    A font file contains, in addition to pictures of characters, a variety
    of information about the font.  The attributes include:

    Font Attribute Functions
    ----------------------------------------------------------------------
    Function            Purpose
    ----------------------------------------------------------------------
    FontCharSet()       Get character set
    FontFamilyName()    Get font family name
    FontFullName()      Get font full name
    FontIsBold()        Get bold flag
    FontIsItalic()      Get italic flag
    FontPointSize()     Get font point size
    FontResolution()    Get font resolution
    ----------------------------------------------------------------------

    Fonts usually come in families.  A family contains several different
    fonts designed to work together, like a normal, bold, and italic font.
    Each font in the family has the same family name (e.g. "Times"), but
    individual fonts have their own full names ("Times Roman", "Times Bold",
    "Times Italic").

    A font is often described with its size in points.  (A point is 1/72 of
    an inch.)  Point size does not measure any specific feature, and one
    font in a particular size may look larger or smaller than some other
    font in the same size.

    The bold and italic flags help you relate together different fonts in
    the same family.  To find the italic version of a given font, you would
    search for another font with the same family name and point size, but
    with the italic flag set and the bold flag clear.  (If both are set, you
    have a bold-italic font.)

 Font Measurements

    These functions measure the heights of different parts of a font.  They
    are used to figure out how to space text vertically on the page.

    Font Measurement Functions
    ----------------------------------------------------------------------
    Function            Purpose
    ----------------------------------------------------------------------
    FontAscent()        Get character ascent
    FontAveWidth()      Get average character width
    FontDescent()       Get character descent
    FontHeight()        Get character height
    FontLineSpacing()   Get interline spacing
    FontMaxWidth()      Get maximum character width
    ----------------------------------------------------------------------

    .   Ascent is the maximum height of the font above the baseline.  This
        is similar to 'ascender height' in typography, but includes space
        for accents and extra-tall symbols.  (Ascender height is usually the
        height of the tallest letter, and does not include space for accents
        or symbols.)

    .   Descent is the maximum distance the font extends below the baseline.
        This is similar to 'descender height' in typography.

    .   Character height is the sum of the ascent and descent.  If you space
        lines of text this distance apart, descenders on one line may just
        touch ascenders on the next, but they will never overlap.  (Type set
        this way is called 'set solid'.)

    .   Line spacing is the recommended distance between two lines of text.
        In most fonts it will be larger than the font height to allow some
        blank space between lines.  A few fonts are intended to be set
        solid, and the line spacing will be the same as the height.

       +--- ######## -----------------------------------+     
       |    ## ## ##                            |       |     
               ##    ##   ## ####### #######    |       |     
     Ascent    ##    ##   ##  ##  ## #######                  
               ##    ##   ##  ##  ## ##   ##  Height  Line    
       |----- ####    ######  #####   #####          Spacing  
    Descent              ###  ##                |             
       +------------- ####   #### --------------+       |     
                                                        |     
        - - - - - - - - - - - - - - - - - - - - - - - - +     

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson