shithub: freetype+ttf2subf

ref: 00a7b51fab76e8331f4ae86507e468b79856b47e
dir: /src/autofit/hbshim.h/

View raw version
/***************************************************************************/
/*                                                                         */
/*  hbshim.h                                                               */
/*                                                                         */
/*    HarfBuzz interface for accessing OpenType features (specification).  */
/*                                                                         */
/*  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.                                        */
/*                                                                         */
/***************************************************************************/


#ifndef __HBSHIM_H__
#define __HBSHIM_H__


#include <ft2build.h>
#include FT_FREETYPE_H


#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ


FT_BEGIN_HEADER

  FT_Error
  af_get_coverage( FT_Face        face,
                   AF_StyleClass  style_class,
                   FT_Byte*       gstyles );

 /* */

FT_END_HEADER


#endif /* FT_CONFIG_OPTION_USE_HARFBUZZ */

#endif /* __HBSHIM_H__ */


/* END */