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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 | 42 |
43 #include "cf2ft.h" | 43 #include "cf2ft.h" |
44 #include "cf2blues.h" | 44 #include "cf2blues.h" |
45 | 45 |
46 | 46 |
47 FT_BEGIN_HEADER | 47 FT_BEGIN_HEADER |
48 | 48 |
49 | 49 |
50 #define CF2_OPERAND_STACK_SIZE 48 | 50 #define CF2_OPERAND_STACK_SIZE 48 |
51 #define CF2_MAX_SUBR 10 /* maximum subroutine nesting */ | 51 #define CF2_MAX_SUBR 16 /* maximum subroutine nesting; */ |
| 52 /* only 10 are allowed but there exist */ |
| 53 /* fonts like `HiraKakuProN-W3.ttf' */ |
| 54 /* (Hiragino Kaku Gothic ProN W3; */ |
| 55 /* 8.2d6e1; 2014-12-19) that exceed */ |
| 56 /* this limit */ |
52 | 57 |
53 | 58 |
54 /* typedef is in `cf2glue.h' */ | 59 /* typedef is in `cf2glue.h' */ |
55 struct CF2_FontRec_ | 60 struct CF2_FontRec_ |
56 { | 61 { |
57 FT_Memory memory; | 62 FT_Memory memory; |
58 FT_Error error; /* shared error for this instance */ | 63 FT_Error error; /* shared error for this instance */ |
59 | 64 |
60 CF2_RenderingFlags renderingFlags; | 65 CF2_RenderingFlags renderingFlags; |
61 | 66 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 CF2_F16Dot16* glyphWidth ); | 112 CF2_F16Dot16* glyphWidth ); |
108 | 113 |
109 | 114 |
110 FT_END_HEADER | 115 FT_END_HEADER |
111 | 116 |
112 | 117 |
113 #endif /* __CF2FONT_H__ */ | 118 #endif /* __CF2FONT_H__ */ |
114 | 119 |
115 | 120 |
116 /* END */ | 121 /* END */ |
OLD | NEW |