Edit

kc3-lang/freetype/src/autofit/afscript.h

Branch :

  • Browse

    Commit

  • Author : Werner Lemberg
    Date : 2013-09-22 22:37:26
    Hash : 5a4c5a5b
    Message : [autofit] Disunify Cyrillic and Greek handling from Latin. * src/autofit/afscript.h: Add Cyrillic and Greek. * src/autofit/afblue.dat (AF_BLUE_STRINGSET_GREK, AF_BLUE_STRINGSET_CYRL): Add blue zones for Greek and Cyrillic. (AF_BLUE_STRINGSET_LATN): Fix typo. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/aflatin.c (af_grek_uniranges, af_cyrl_uniranges): New arrays. (af_grek_script_class, af_cyrl_script_class): New scripts. * src/autofit/aflatin.h: Updated.

  • src/autofit/afscript.h
  • /***************************************************************************/
    /*                                                                         */
    /*  afscript.h                                                             */
    /*                                                                         */
    /*    Auto-fitter scripts (specification only).                            */
    /*                                                                         */
    /*  Copyright 2013 by                                                      */
    /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    /*                                                                         */
    /*  This file is part of the FreeType project, and may only be used,       */
    /*  modified, and distributed under the terms of the FreeType project      */
    /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
    /*  this file you indicate that you have read the license and              */
    /*  understand and accept it fully.                                        */
    /*                                                                         */
    /***************************************************************************/
    
    
      /* The following part can be included multiple times. */
      /* Define `SCRIPT' as needed.                         */
    
    
      /* Add new scripts here. */
    
      SCRIPT( cyrl, CYRL )
      SCRIPT( deva, DEVA )
      SCRIPT( dflt, DFLT )
      SCRIPT( grek, GREK )
      SCRIPT( hani, HANI )
      SCRIPT( hebr, HEBR )
      SCRIPT( latn, LATN )
    #ifdef FT_OPTION_AUTOFIT2
      SCRIPT( ltn2, LTN2 )
    #endif
    
    
    /* END */