| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* cf2font.h */ | 3 /* cf2font.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Adobe's code for font instances (specification). */ | 5 /* Adobe's code for font instances (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 2007-2013 Adobe Systems Incorporated. */ | 7 /* Copyright 2007-2013 Adobe Systems Incorporated. */ |
| 8 /* */ | 8 /* */ |
| 9 /* This software, and all works of authorship, whether in source or */ | 9 /* This software, and all works of authorship, whether in source or */ |
| 10 /* object code form as indicated by the copyright notice(s) included */ | 10 /* object code form as indicated by the copyright notice(s) included */ |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 CFF_Decoder* decoder; | 78 CFF_Decoder* decoder; |
| 79 CFF_SubFont lastSubfont; /* FreeType parsed data; */ | 79 CFF_SubFont lastSubfont; /* FreeType parsed data; */ |
| 80 /* top font or subfont */ | 80 /* top font or subfont */ |
| 81 | 81 |
| 82 /* these flags can vary from one call to the next */ | 82 /* these flags can vary from one call to the next */ |
| 83 FT_Bool hinted; | 83 FT_Bool hinted; |
| 84 FT_Bool darkened; /* true if stemDarkened or synthetic bold */ | 84 FT_Bool darkened; /* true if stemDarkened or synthetic bold */ |
| 85 /* i.e. darkenX != 0 || darkenY != 0 */ | 85 /* i.e. darkenX != 0 || darkenY != 0 */ |
| 86 FT_Bool stemDarkened; | 86 FT_Bool stemDarkened; |
| 87 | 87 |
| 88 FT_Int darkenParams[8]; /* 1000 unit character space */ |
| 89 |
| 88 /* variables that depend on both FontDict and Transform */ | 90 /* variables that depend on both FontDict and Transform */ |
| 89 CF2_Fixed stdVW; /* in character space; depends on dict entry */ | 91 CF2_Fixed stdVW; /* in character space; depends on dict entry */ |
| 90 CF2_Fixed stdHW; /* in character space; depends on dict entry */ | 92 CF2_Fixed stdHW; /* in character space; depends on dict entry */ |
| 91 CF2_Fixed darkenX; /* character space units */ | 93 CF2_Fixed darkenX; /* character space units */ |
| 92 CF2_Fixed darkenY; /* depends on transform */ | 94 CF2_Fixed darkenY; /* depends on transform */ |
| 93 /* and private dict (StdVW) */ | 95 /* and private dict (StdVW) */ |
| 94 FT_Bool reverseWinding; /* darken assuming */ | 96 FT_Bool reverseWinding; /* darken assuming */ |
| 95 /* counterclockwise winding */ | 97 /* counterclockwise winding */ |
| 96 | 98 |
| 97 CF2_BluesRec blues; /* computed zone data */ | 99 CF2_BluesRec blues; /* computed zone data */ |
| 98 }; | 100 }; |
| 99 | 101 |
| 100 | 102 |
| 101 FT_LOCAL( FT_Error ) | 103 FT_LOCAL( FT_Error ) |
| 102 cf2_getGlyphOutline( CF2_Font font, | 104 cf2_getGlyphOutline( CF2_Font font, |
| 103 CF2_Buffer charstring, | 105 CF2_Buffer charstring, |
| 104 const CF2_Matrix* transform, | 106 const CF2_Matrix* transform, |
| 105 CF2_F16Dot16* glyphWidth ); | 107 CF2_F16Dot16* glyphWidth ); |
| 106 | 108 |
| 107 | 109 |
| 108 FT_END_HEADER | 110 FT_END_HEADER |
| 109 | 111 |
| 110 | 112 |
| 111 #endif /* __CF2FONT_H__ */ | 113 #endif /* __CF2FONT_H__ */ |
| 112 | 114 |
| 113 | 115 |
| 114 /* END */ | 116 /* END */ |
| OLD | NEW |