• Show log

    Commit

  • Hash : e3f41982
    Author : Werner Lemberg
    Date : 2003-10-16T15:48:39

    Completely revised Type 42 parser.  It now handles both fonts
    produced with ttftot42 (tested version 0.3.1) and
    TrueTypeToType42.ps (tested version May 2001; it is necessary to
    fix the broken header comment to be `%!PS-TrueTypeFont...').
    
    * src/type42/t42objs.c (T42_GlyphSlot_Load): Change fourth
    parameter to `FT_UInt'.
    * src/type42/t42objs.h: Updated.
    
    * src/type42/t42parse.h (T42_ParserRec): Change type of `in_memory'
    to FT_Bool.
    (T42_Loader): Change type of `num_chars' and `num_glyphs' to
    FT_UInt.
    Add `swap_table' element.
    * src/type42/t42parse.c (T42_KEYWORD_COUNT, T1_ToFixed,
    T1_ToCoordArray, T1_ToTokenArray): Removed.
    (T1_ToBytes): New macro.
    (t42_is_alpha, t42_hexval): Removed.
    (t42_is_space): Handle `\0'.
    (t42_parse_encoding): Updated to use new PostScript parser routines
    from psaux.
    Handle `/Encoding [ ... ]' also.
    (T42_Load_Status): New enumeration.
    (t42_parse_sfnts): Updated to use new PostScript parser routines
    from psaux.
    (t42_parse_charstrings): Updated to use new PostScript parser
    routines from psaux.
    Handle `/CharStrings << ... >>' also.
    Don't expect that /.notdef is the first element in dictionary.  Copy
    code from type1 module to handle this.
    (t42_parse_dict): Updated to use new PostScript parser routines
    from psaux.
    Remove code for synthetic fonts (which can't occur in Type 42
    fonts).
    (t42_loader_done): Release `swap_table'.
    
    * src/psaux/psobjs.c (skip_string): Increase `cur' properly.
    
    * src/type1/t1load.c (parse_charstrings): Make test for `.notdef'
    faster.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags

  • README

  •   Special notes to Unix users
      ===========================
    
      Please  read  the file  "docs/UPGRADE.UNX".   It contains  important
      information regarding the installation  of FreeType on Unix systems,
      especially GNU based operating systems like GNU/Linux.
    
      FreeType 2's  library is called `libfreetype',  FreeType 1's library
      is called `libttf'.  They are *not* compatible!
    
    
      FreeType 2.1.5
      ==============
    
      Please read the docs/CHANGES file, it contains IMPORTANT INFORMATION.
    
      Read the files "docs/INSTALL" for installation instructions.
    
      Note  that  the FreeType  2  documentation  is  now available  as  a
      separate package from our sites.  See:
    
        ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.5.tar.bz2
        ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.5.tar.gz
        ftp://ftp.freetype.org/pub/freetype2/ftdoc215.zip
    
    
      Bugs
      ====
    
      Please report bugs by  e-mail to `devel@freetype.org'.  Don't forget
      to send  a detailed explanation of  the problem --  there is nothing
      worse  than receiving  a terse  message that  only says  "it doesn't
      work".
    
    
      Enjoy!
    
    
        The FreeType Team