1 /**************************************************************************** 2 * 3 * psintrp.h 4 * 5 * Adobe's CFF Interpreter (specification). 6 * 7 * Copyright 2007-2013 Adobe Systems Incorporated. 8 * 9 * This software, and all works of authorship, whether in source or 10 * object code form as indicated by the copyright notice(s) included 11 * herein (collectively, the "Work") is made available, and may only be 12 * used, modified, and distributed under the FreeType Project License, 13 * LICENSE.TXT. Additionally, subject to the terms and conditions of the 14 * FreeType Project License, each contributor to the Work hereby grants 15 * to any individual or legal entity exercising permissions granted by 16 * the FreeType Project License and this section (hereafter, "You" or 17 * "Your") a perpetual, worldwide, non-exclusive, no-charge, 18 * royalty-free, irrevocable (except as stated in this section) patent 19 * license to make, have made, use, offer to sell, sell, import, and 20 * otherwise transfer the Work, where such license applies only to those 21 * patent claims licensable by such contributor that are necessarily 22 * infringed by their contribution(s) alone or by combination of their 23 * contribution(s) with the Work to which such contribution(s) was 24 * submitted. If You institute patent litigation against any entity 25 * (including a cross-claim or counterclaim in a lawsuit) alleging that 26 * the Work or a contribution incorporated within the Work constitutes 27 * direct or contributory patent infringement, then any patent licenses 28 * granted to You under this License for that Work shall terminate as of 29 * the date such litigation is filed. 30 * 31 * By using, modifying, or distributing the Work you indicate that you 32 * have read and understood the terms and conditions of the 33 * FreeType Project License as well as those provided in this section, 34 * and you accept them fully. 35 * 36 */ 37 38 39 #ifndef PSINTRP_H_ 40 #define PSINTRP_H_ 41 42 43 #include "psft.h" 44 #include "pshints.h" 45 46 47 FT_BEGIN_HEADER 48 49 50 FT_LOCAL( void ) 51 cf2_hintmask_init( CF2_HintMask hintmask, 52 FT_Error* error ); 53 FT_LOCAL( FT_Bool ) 54 cf2_hintmask_isValid( const CF2_HintMask hintmask ); 55 FT_LOCAL( FT_Bool ) 56 cf2_hintmask_isNew( const CF2_HintMask hintmask ); 57 FT_LOCAL( void ) 58 cf2_hintmask_setNew( CF2_HintMask hintmask, 59 FT_Bool val ); 60 FT_LOCAL( FT_Byte* ) 61 cf2_hintmask_getMaskPtr( CF2_HintMask hintmask ); 62 FT_LOCAL( void ) 63 cf2_hintmask_setAll( CF2_HintMask hintmask, 64 size_t bitCount ); 65 66 FT_LOCAL( void ) 67 cf2_interpT2CharString( CF2_Font font, 68 CF2_Buffer charstring, 69 CF2_OutlineCallbacks callbacks, 70 const FT_Vector* translation, 71 FT_Bool doingSeac, 72 CF2_Fixed curX, 73 CF2_Fixed curY, 74 CF2_Fixed* width ); 75 76 77 FT_END_HEADER 78 79 80 #endif /* PSINTRP_H_ */ 81 82 83 /* END */ 84