| 1 | /**************************************************************************** |
| 2 | * |
| 3 | * cidgload.h |
| 4 | * |
| 5 | * OpenType Glyph Loader (specification). |
| 6 | * |
| 7 | * Copyright (C) 1996-2023 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 CIDGLOAD_H_ |
| 20 | #define CIDGLOAD_H_ |
| 21 | |
| 22 | |
| 23 | #include "cidobjs.h" |
| 24 | |
| 25 | |
| 26 | FT_BEGIN_HEADER |
| 27 | |
| 28 | |
| 29 | #if 0 |
| 30 | |
| 31 | /* Compute the maximum advance width of a font through quick parsing */ |
| 32 | FT_LOCAL( FT_Error ) |
| 33 | cid_face_compute_max_advance( CID_Face face, |
| 34 | FT_Int* max_advance ); |
| 35 | |
| 36 | #endif /* 0 */ |
| 37 | |
| 38 | FT_LOCAL( FT_Error ) |
| 39 | cid_slot_load_glyph( FT_GlyphSlot glyph, /* CID_Glyph_Slot */ |
| 40 | FT_Size size, /* CID_Size */ |
| 41 | FT_UInt glyph_index, |
| 42 | FT_Int32 load_flags ); |
| 43 | |
| 44 | |
| 45 | FT_LOCAL( FT_Error ) |
| 46 | cid_compute_fd_and_offsets( CID_Face face, |
| 47 | FT_UInt glyph_index, |
| 48 | FT_ULong* fd_select_p, |
| 49 | FT_ULong* off1_p, |
| 50 | FT_ULong* off2_p ); |
| 51 | |
| 52 | |
| 53 | FT_END_HEADER |
| 54 | |
| 55 | #endif /* CIDGLOAD_H_ */ |
| 56 | |
| 57 | |
| 58 | /* END */ |
| 59 | |