1 /***************************************************************************/
5 /* FreeType Glue Component to Adobe's Interpreter (specification). */
7 /* Copyright 2013 Adobe Systems Incorporated. */
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. */
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. */
36 /***************************************************************************/
46 /* TODO: disable asserts for now */
53 #include "cffgload.h" /* for CFF_Decoder */
60 cf2_decoder_parse_charstrings( CFF_Decoder* decoder,
61 FT_Byte* charstring_base,
62 FT_ULong charstring_len );
64 FT_LOCAL( CFF_SubFont )
65 cf2_getSubfont( CFF_Decoder* decoder );
69 cf2_getPpemY( CFF_Decoder* decoder );
71 cf2_getStdVW( CFF_Decoder* decoder );
73 cf2_getStdHW( CFF_Decoder* decoder );
76 cf2_getBlueMetrics( CFF_Decoder* decoder,
79 CF2_Fixed* blueFuzz );
81 cf2_getBlueValues( CFF_Decoder* decoder,
85 cf2_getOtherBlues( CFF_Decoder* decoder,
89 cf2_getFamilyBlues( CFF_Decoder* decoder,
93 cf2_getFamilyOtherBlues( CFF_Decoder* decoder,
98 cf2_getLanguageGroup( CFF_Decoder* decoder );
101 cf2_initGlobalRegionBuffer( CFF_Decoder* decoder,
105 cf2_getSeacComponent( CFF_Decoder* decoder,
109 cf2_freeSeacComponent( CFF_Decoder* decoder,
112 cf2_initLocalRegionBuffer( CFF_Decoder* decoder,
116 FT_LOCAL( CF2_Fixed )
117 cf2_getDefaultWidthX( CFF_Decoder* decoder );
118 FT_LOCAL( CF2_Fixed )
119 cf2_getNominalWidthX( CFF_Decoder* decoder );
123 * FreeType client outline
125 * process output from the charstring interpreter
127 typedef struct CF2_OutlineRec_
129 CF2_OutlineCallbacksRec root; /* base class must be first */
130 CFF_Decoder* decoder;
132 } CF2_OutlineRec, *CF2_Outline;
136 cf2_outline_reset( CF2_Outline outline );
138 cf2_outline_close( CF2_Outline outline );
144 #endif /* __CF2FT_H__ */