| 1 | /**************************************************************************** |
| 2 | * |
| 3 | * cffobjs.h |
| 4 | * |
| 5 | * OpenType objects manager (specification). |
| 6 | * |
| 7 | * Copyright (C) 1996-2019 by |
| 8 | * David Turner, Robert Wilhelm, and Werner Lemberg. |
| 9 | * |
| 10 | * This file is part of the FreeType project, and may only be used, |
| 11 | * modified, and distributed under the terms of the FreeType project |
| 12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute |
| 13 | * this file you indicate that you have read the license and |
| 14 | * understand and accept it fully. |
| 15 | * |
| 16 | */ |
| 17 | |
| 18 | |
| 19 | #ifndef CFFOBJS_H_ |
| 20 | #define CFFOBJS_H_ |
| 21 | |
| 22 | |
| 23 | #include <ft2build.h> |
| 24 | |
| 25 | |
| 26 | FT_BEGIN_HEADER |
| 27 | |
| 28 | |
| 29 | FT_LOCAL( FT_Error ) |
| 30 | cff_size_init( FT_Size size ); /* CFF_Size */ |
| 31 | |
| 32 | FT_LOCAL( void ) |
| 33 | cff_size_done( FT_Size size ); /* CFF_Size */ |
| 34 | |
| 35 | FT_LOCAL( FT_Error ) |
| 36 | cff_size_request( FT_Size size, |
| 37 | FT_Size_Request req ); |
| 38 | |
| 39 | #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS |
| 40 | |
| 41 | FT_LOCAL( FT_Error ) |
| 42 | cff_size_select( FT_Size size, |
| 43 | FT_ULong strike_index ); |
| 44 | |
| 45 | #endif |
| 46 | |
| 47 | FT_LOCAL( void ) |
| 48 | cff_slot_done( FT_GlyphSlot slot ); |
| 49 | |
| 50 | FT_LOCAL( FT_Error ) |
| 51 | cff_slot_init( FT_GlyphSlot slot ); |
| 52 | |
| 53 | |
| 54 | /************************************************************************** |
| 55 | * |
| 56 | * Face functions |
| 57 | */ |
| 58 | FT_LOCAL( FT_Error ) |
| 59 | cff_face_init( FT_Stream stream, |
| 60 | FT_Face face, /* CFF_Face */ |
| 61 | FT_Int face_index, |
| 62 | FT_Int num_params, |
| 63 | FT_Parameter* params ); |
| 64 | |
| 65 | FT_LOCAL( void ) |
| 66 | cff_face_done( FT_Face face ); /* CFF_Face */ |
| 67 | |
| 68 | |
| 69 | /************************************************************************** |
| 70 | * |
| 71 | * Driver functions |
| 72 | */ |
| 73 | FT_LOCAL( FT_Error ) |
| 74 | cff_driver_init( FT_Module module ); /* PS_Driver */ |
| 75 | |
| 76 | FT_LOCAL( void ) |
| 77 | cff_driver_done( FT_Module module ); /* PS_Driver */ |
| 78 | |
| 79 | |
| 80 | FT_END_HEADER |
| 81 | |
| 82 | #endif /* CFFOBJS_H_ */ |
| 83 | |
| 84 | |
| 85 | /* END */ |
| 86 | |