/src/harfbuzz/src/hb-cff-interp-cs-common.hh
Line  | Count  | Source  | 
1  |  | /*  | 
2  |  |  * Copyright © 2018 Adobe Inc.  | 
3  |  |  *  | 
4  |  |  *  This is part of HarfBuzz, a text shaping library.  | 
5  |  |  *  | 
6  |  |  * Permission is hereby granted, without written agreement and without  | 
7  |  |  * license or royalty fees, to use, copy, modify, and distribute this  | 
8  |  |  * software and its documentation for any purpose, provided that the  | 
9  |  |  * above copyright notice and the following two paragraphs appear in  | 
10  |  |  * all copies of this software.  | 
11  |  |  *  | 
12  |  |  * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR  | 
13  |  |  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES  | 
14  |  |  * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN  | 
15  |  |  * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH  | 
16  |  |  * DAMAGE.  | 
17  |  |  *  | 
18  |  |  * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,  | 
19  |  |  * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND  | 
20  |  |  * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS  | 
21  |  |  * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO  | 
22  |  |  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  | 
23  |  |  *  | 
24  |  |  * Adobe Author(s): Michiharu Ariza  | 
25  |  |  */  | 
26  |  | #ifndef HB_CFF_INTERP_CS_COMMON_HH  | 
27  |  | #define HB_CFF_INTERP_CS_COMMON_HH  | 
28  |  |  | 
29  |  | #include "hb.hh"  | 
30  |  | #include "hb-cff-interp-common.hh"  | 
31  |  |  | 
32  |  | namespace CFF { | 
33  |  |  | 
34  |  | using namespace OT;  | 
35  |  |  | 
36  |  | enum cs_type_t { | 
37  |  |   CSType_CharString,  | 
38  |  |   CSType_GlobalSubr,  | 
39  |  |   CSType_LocalSubr  | 
40  |  | };  | 
41  |  |  | 
42  |  | struct call_context_t  | 
43  |  | { | 
44  |  |   void init (const byte_str_ref_t substr_=byte_str_ref_t (), cs_type_t type_=CSType_CharString, unsigned int subr_num_=0)  | 
45  | 0  |   { | 
46  | 0  |     str_ref = substr_;  | 
47  | 0  |     type = type_;  | 
48  | 0  |     subr_num = subr_num_;  | 
49  | 0  |   }  | 
50  |  |  | 
51  | 0  |   void fini () {} | 
52  |  |  | 
53  |  |   byte_str_ref_t  str_ref;  | 
54  |  |   cs_type_t   type;  | 
55  |  |   unsigned int    subr_num;  | 
56  |  | };  | 
57  |  |  | 
58  |  | /* call stack */  | 
59  |  | const unsigned int kMaxCallLimit = 10;  | 
60  |  | struct call_stack_t : cff_stack_t<call_context_t, kMaxCallLimit> {}; | 
61  |  |  | 
62  |  | template <typename SUBRS>  | 
63  |  | struct biased_subrs_t  | 
64  |  | { | 
65  |  |   void init (const SUBRS *subrs_)  | 
66  | 0  |   { | 
67  | 0  |     subrs = subrs_;  | 
68  | 0  |     unsigned int  nSubrs = get_count ();  | 
69  | 0  |     if (nSubrs < 1240)  | 
70  | 0  |       bias = 107;  | 
71  | 0  |     else if (nSubrs < 33900)  | 
72  | 0  |       bias = 1131;  | 
73  | 0  |     else  | 
74  | 0  |       bias = 32768;  | 
75  | 0  |   } Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::init(CFF::Subrs<OT::NumType<true, unsigned short, 2u> > const*) Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::init(CFF::Subrs<OT::NumType<true, unsigned int, 4u> > const*)  | 
76  |  |  | 
77  | 0  |   void fini () {}Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::fini() Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::fini()  | 
78  |  |  | 
79  | 0  |   unsigned int get_count () const { return subrs ? subrs->count : 0; }Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::get_count() const Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::get_count() const  | 
80  | 0  |   unsigned int get_bias () const  { return bias; }Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::get_bias() const Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::get_bias() const  | 
81  |  |  | 
82  |  |   hb_ubytes_t operator [] (unsigned int index) const  | 
83  | 0  |   { | 
84  | 0  |     if (unlikely (!subrs || index >= subrs->count))  | 
85  | 0  |       return hb_ubytes_t ();  | 
86  | 0  |     else  | 
87  | 0  |       return (*subrs)[index];  | 
88  | 0  |   } Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::operator[](unsigned int) const Unexecuted instantiation: CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::operator[](unsigned int) const  | 
89  |  |  | 
90  |  |   protected:  | 
91  |  |   unsigned int  bias;  | 
92  |  |   const SUBRS   *subrs;  | 
93  |  | };  | 
94  |  |  | 
95  |  | struct point_t  | 
96  |  | { | 
97  |  |   void set_int (int _x, int _y)  | 
98  | 0  |   { | 
99  | 0  |     x.set_int (_x);  | 
100  | 0  |     y.set_int (_y);  | 
101  | 0  |   }  | 
102  |  |  | 
103  | 0  |   void move_x (const number_t &dx) { x += dx; } | 
104  | 0  |   void move_y (const number_t &dy) { y += dy; } | 
105  | 0  |   void move (const number_t &dx, const number_t &dy) { move_x (dx); move_y (dy); } | 
106  | 0  |   void move (const point_t &d) { move_x (d.x); move_y (d.y); } | 
107  |  |  | 
108  |  |   number_t  x;  | 
109  |  |   number_t  y;  | 
110  |  | };  | 
111  |  |  | 
112  |  | template <typename ARG, typename SUBRS>  | 
113  |  | struct cs_interp_env_t : interp_env_t<ARG>  | 
114  |  | { | 
115  |  |   cs_interp_env_t (const hb_ubytes_t &str, const SUBRS *globalSubrs_, const SUBRS *localSubrs_) :  | 
116  | 0  |     interp_env_t<ARG> (str)  | 
117  | 0  |   { | 
118  | 0  |     context.init (str, CSType_CharString);  | 
119  | 0  |     seen_moveto = true;  | 
120  | 0  |     seen_hintmask = false;  | 
121  | 0  |     hstem_count = 0;  | 
122  | 0  |     vstem_count = 0;  | 
123  | 0  |     hintmask_size = 0;  | 
124  | 0  |     pt.set_int (0, 0);  | 
125  | 0  |     globalSubrs.init (globalSubrs_);  | 
126  | 0  |     localSubrs.init (localSubrs_);  | 
127  | 0  |   } Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::cs_interp_env_t(hb_array_t<unsigned char const> const&, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > const*, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > const*) Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::cs_interp_env_t(hb_array_t<unsigned char const> const&, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > const*, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > const*)  | 
128  |  |   ~cs_interp_env_t ()  | 
129  | 0  |   { | 
130  | 0  |     globalSubrs.fini ();  | 
131  | 0  |     localSubrs.fini ();  | 
132  | 0  |   } Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::~cs_interp_env_t() Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::~cs_interp_env_t()  | 
133  |  |  | 
134  |  |   bool in_error () const  | 
135  | 0  |   { | 
136  | 0  |     return callStack.in_error () || SUPER::in_error ();  | 
137  | 0  |   } Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::in_error() const Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::in_error() const  | 
138  |  |  | 
139  |  |   bool pop_subr_num (const biased_subrs_t<SUBRS>& biasedSubrs, unsigned int &subr_num)  | 
140  | 0  |   { | 
141  | 0  |     subr_num = 0;  | 
142  | 0  |     int n = SUPER::argStack.pop_int ();  | 
143  | 0  |     n += biasedSubrs.get_bias ();  | 
144  | 0  |     if (unlikely ((n < 0) || ((unsigned int)n >= biasedSubrs.get_count ())))  | 
145  | 0  |       return false;  | 
146  |  |  | 
147  | 0  |     subr_num = (unsigned int)n;  | 
148  | 0  |     return true;  | 
149  | 0  |   } Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::pop_subr_num(CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned short, 2u> > > const&, unsigned int&) Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::pop_subr_num(CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned int, 4u> > > const&, unsigned int&)  | 
150  |  |  | 
151  |  |   void call_subr (const biased_subrs_t<SUBRS>& biasedSubrs, cs_type_t type)  | 
152  | 0  |   { | 
153  | 0  |     unsigned int subr_num = 0;  | 
154  |  | 
  | 
155  | 0  |     if (unlikely (!pop_subr_num (biasedSubrs, subr_num)  | 
156  | 0  |      || callStack.get_count () >= kMaxCallLimit))  | 
157  | 0  |     { | 
158  | 0  |       SUPER::set_error ();  | 
159  | 0  |       return;  | 
160  | 0  |     }  | 
161  | 0  |     context.str_ref = SUPER::str_ref;  | 
162  | 0  |     callStack.push (context);  | 
163  |  | 
  | 
164  | 0  |     context.init ( biasedSubrs[subr_num], type, subr_num);  | 
165  | 0  |     SUPER::str_ref = context.str_ref;  | 
166  | 0  |   } Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::call_subr(CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned short, 2u> > > const&, CFF::cs_type_t) Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::call_subr(CFF::biased_subrs_t<CFF::Subrs<OT::NumType<true, unsigned int, 4u> > > const&, CFF::cs_type_t)  | 
167  |  |  | 
168  |  |   void return_from_subr ()  | 
169  | 0  |   { | 
170  | 0  |     if (unlikely (SUPER::str_ref.in_error ()))  | 
171  | 0  |       SUPER::set_error ();  | 
172  | 0  |     context = callStack.pop ();  | 
173  | 0  |     SUPER::str_ref = context.str_ref;  | 
174  | 0  |   } Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::return_from_subr() Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::return_from_subr()  | 
175  |  |  | 
176  |  |   void determine_hintmask_size ()  | 
177  | 0  |   { | 
178  | 0  |     if (!seen_hintmask)  | 
179  | 0  |     { | 
180  | 0  |       vstem_count += SUPER::argStack.get_count() / 2;  | 
181  | 0  |       hintmask_size = (hstem_count + vstem_count + 7) >> 3;  | 
182  | 0  |       seen_hintmask = true;  | 
183  | 0  |     }  | 
184  | 0  |   } Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::determine_hintmask_size() Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::determine_hintmask_size()  | 
185  |  |  | 
186  | 0  |   void set_endchar (bool endchar_flag_) { endchar_flag = endchar_flag_; }Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::set_endchar(bool) Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::set_endchar(bool)  | 
187  | 0  |   bool is_endchar () const { return endchar_flag; }Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::is_endchar() const Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::is_endchar() const  | 
188  |  |  | 
189  |  |   const number_t &get_x () const { return pt.x; } | 
190  |  |   const number_t &get_y () const { return pt.y; } | 
191  | 0  |   const point_t &get_pt () const { return pt; }Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::get_pt() const Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::get_pt() const  | 
192  |  |  | 
193  | 0  |   void moveto (const point_t &pt_ ) { pt = pt_; }Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned short, 2u> > >::moveto(CFF::point_t const&) Unexecuted instantiation: CFF::cs_interp_env_t<CFF::number_t, CFF::Subrs<OT::NumType<true, unsigned int, 4u> > >::moveto(CFF::point_t const&)  | 
194  |  |  | 
195  |  |   public:  | 
196  |  |   call_context_t   context;  | 
197  |  |   bool    endchar_flag;  | 
198  |  |   bool    seen_moveto;  | 
199  |  |   bool    seen_hintmask;  | 
200  |  |  | 
201  |  |   unsigned int  hstem_count;  | 
202  |  |   unsigned int  vstem_count;  | 
203  |  |   unsigned int  hintmask_size;  | 
204  |  |   call_stack_t  callStack;  | 
205  |  |   biased_subrs_t<SUBRS>   globalSubrs;  | 
206  |  |   biased_subrs_t<SUBRS>   localSubrs;  | 
207  |  |  | 
208  |  |   private:  | 
209  |  |   point_t  pt;  | 
210  |  |  | 
211  |  |   typedef interp_env_t<ARG> SUPER;  | 
212  |  | };  | 
213  |  |  | 
214  |  | template <typename ENV, typename PARAM>  | 
215  |  | struct path_procs_null_t  | 
216  |  | { | 
217  | 0  |   static void rmoveto (ENV &env, PARAM& param) {} | 
218  | 0  |   static void hmoveto (ENV &env, PARAM& param) {} | 
219  | 0  |   static void vmoveto (ENV &env, PARAM& param) {} | 
220  | 0  |   static void rlineto (ENV &env, PARAM& param) {} | 
221  | 0  |   static void hlineto (ENV &env, PARAM& param) {} | 
222  | 0  |   static void vlineto (ENV &env, PARAM& param) {} | 
223  | 0  |   static void rrcurveto (ENV &env, PARAM& param) {} | 
224  | 0  |   static void rcurveline (ENV &env, PARAM& param) {} | 
225  | 0  |   static void rlinecurve (ENV &env, PARAM& param) {} | 
226  | 0  |   static void vvcurveto (ENV &env, PARAM& param) {} | 
227  | 0  |   static void hhcurveto (ENV &env, PARAM& param) {} | 
228  | 0  |   static void vhcurveto (ENV &env, PARAM& param) {} | 
229  | 0  |   static void hvcurveto (ENV &env, PARAM& param) {} | 
230  |  |   static void moveto (ENV &env, PARAM& param, const point_t &pt) {} | 
231  |  |   static void line (ENV &env, PARAM& param, const point_t &pt1) {} | 
232  |  |   static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &pt3) {} | 
233  | 0  |   static void hflex (ENV &env, PARAM& param) {} | 
234  | 0  |   static void flex (ENV &env, PARAM& param) {} | 
235  | 0  |   static void hflex1 (ENV &env, PARAM& param) {} | 
236  | 0  |   static void flex1 (ENV &env, PARAM& param) {} | 
237  |  | };  | 
238  |  |  | 
239  |  | template <typename ARG, typename OPSET, typename ENV, typename PARAM, typename PATH=path_procs_null_t<ENV, PARAM>>  | 
240  |  | struct cs_opset_t : opset_t<ARG>  | 
241  |  | { | 
242  |  |   static void process_op (op_code_t op, ENV &env, PARAM& param)  | 
243  | 0  |   { | 
244  | 0  |     switch (op) { | 
245  |  |  | 
246  | 0  |       case OpCode_return:  | 
247  | 0  |   env.return_from_subr ();  | 
248  | 0  |   break;  | 
249  | 0  |       case OpCode_endchar:  | 
250  | 0  |   OPSET::check_width (op, env, param);  | 
251  | 0  |   env.set_endchar (true);  | 
252  | 0  |   OPSET::flush_args_and_op (op, env, param);  | 
253  | 0  |   break;  | 
254  |  |  | 
255  | 0  |       case OpCode_fixedcs:  | 
256  | 0  |   env.argStack.push_fixed_from_substr (env.str_ref);  | 
257  | 0  |   break;  | 
258  |  |  | 
259  | 0  |       case OpCode_callsubr:  | 
260  | 0  |   env.call_subr (env.localSubrs, CSType_LocalSubr);  | 
261  | 0  |   break;  | 
262  |  |  | 
263  | 0  |       case OpCode_callgsubr:  | 
264  | 0  |   env.call_subr (env.globalSubrs, CSType_GlobalSubr);  | 
265  | 0  |   break;  | 
266  |  |  | 
267  | 0  |       case OpCode_hstem:  | 
268  | 0  |       case OpCode_hstemhm:  | 
269  | 0  |   OPSET::check_width (op, env, param);  | 
270  | 0  |   OPSET::process_hstem (op, env, param);  | 
271  | 0  |   break;  | 
272  | 0  |       case OpCode_vstem:  | 
273  | 0  |       case OpCode_vstemhm:  | 
274  | 0  |   OPSET::check_width (op, env, param);  | 
275  | 0  |   OPSET::process_vstem (op, env, param);  | 
276  | 0  |   break;  | 
277  | 0  |       case OpCode_hintmask:  | 
278  | 0  |       case OpCode_cntrmask:  | 
279  | 0  |   OPSET::check_width (op, env, param);  | 
280  | 0  |   OPSET::process_hintmask (op, env, param);  | 
281  | 0  |   break;  | 
282  | 0  |       case OpCode_rmoveto:  | 
283  | 0  |   OPSET::check_width (op, env, param);  | 
284  | 0  |   PATH::rmoveto (env, param);  | 
285  | 0  |   OPSET::process_post_move (op, env, param);  | 
286  | 0  |   break;  | 
287  | 0  |       case OpCode_hmoveto:  | 
288  | 0  |   OPSET::check_width (op, env, param);  | 
289  | 0  |   PATH::hmoveto (env, param);  | 
290  | 0  |   OPSET::process_post_move (op, env, param);  | 
291  | 0  |   break;  | 
292  | 0  |       case OpCode_vmoveto:  | 
293  | 0  |   OPSET::check_width (op, env, param);  | 
294  | 0  |   PATH::vmoveto (env, param);  | 
295  | 0  |   OPSET::process_post_move (op, env, param);  | 
296  | 0  |   break;  | 
297  | 0  |       case OpCode_rlineto:  | 
298  | 0  |   PATH::rlineto (env, param);  | 
299  | 0  |   process_post_path (op, env, param);  | 
300  | 0  |   break;  | 
301  | 0  |       case OpCode_hlineto:  | 
302  | 0  |   PATH::hlineto (env, param);  | 
303  | 0  |   process_post_path (op, env, param);  | 
304  | 0  |   break;  | 
305  | 0  |       case OpCode_vlineto:  | 
306  | 0  |   PATH::vlineto (env, param);  | 
307  | 0  |   process_post_path (op, env, param);  | 
308  | 0  |   break;  | 
309  | 0  |       case OpCode_rrcurveto:  | 
310  | 0  |   PATH::rrcurveto (env, param);  | 
311  | 0  |   process_post_path (op, env, param);  | 
312  | 0  |   break;  | 
313  | 0  |       case OpCode_rcurveline:  | 
314  | 0  |   PATH::rcurveline (env, param);  | 
315  | 0  |   process_post_path (op, env, param);  | 
316  | 0  |   break;  | 
317  | 0  |       case OpCode_rlinecurve:  | 
318  | 0  |   PATH::rlinecurve (env, param);  | 
319  | 0  |   process_post_path (op, env, param);  | 
320  | 0  |   break;  | 
321  | 0  |       case OpCode_vvcurveto:  | 
322  | 0  |   PATH::vvcurveto (env, param);  | 
323  | 0  |   process_post_path (op, env, param);  | 
324  | 0  |   break;  | 
325  | 0  |       case OpCode_hhcurveto:  | 
326  | 0  |   PATH::hhcurveto (env, param);  | 
327  | 0  |   process_post_path (op, env, param);  | 
328  | 0  |   break;  | 
329  | 0  |       case OpCode_vhcurveto:  | 
330  | 0  |   PATH::vhcurveto (env, param);  | 
331  | 0  |   process_post_path (op, env, param);  | 
332  | 0  |   break;  | 
333  | 0  |       case OpCode_hvcurveto:  | 
334  | 0  |   PATH::hvcurveto (env, param);  | 
335  | 0  |   process_post_path (op, env, param);  | 
336  | 0  |   break;  | 
337  |  |  | 
338  | 0  |       case OpCode_hflex:  | 
339  | 0  |   PATH::hflex (env, param);  | 
340  | 0  |   OPSET::process_post_flex (op, env, param);  | 
341  | 0  |   break;  | 
342  |  |  | 
343  | 0  |       case OpCode_flex:  | 
344  | 0  |   PATH::flex (env, param);  | 
345  | 0  |   OPSET::process_post_flex (op, env, param);  | 
346  | 0  |   break;  | 
347  |  |  | 
348  | 0  |       case OpCode_hflex1:  | 
349  | 0  |   PATH::hflex1 (env, param);  | 
350  | 0  |   OPSET::process_post_flex (op, env, param);  | 
351  | 0  |   break;  | 
352  |  |  | 
353  | 0  |       case OpCode_flex1:  | 
354  | 0  |   PATH::flex1 (env, param);  | 
355  | 0  |   OPSET::process_post_flex (op, env, param);  | 
356  | 0  |   break;  | 
357  |  |  | 
358  | 0  |       default:  | 
359  | 0  |   SUPER::process_op (op, env);  | 
360  | 0  |   break;  | 
361  | 0  |     }  | 
362  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::process_op(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::process_op(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::process_op(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::process_op(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::process_op(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
363  |  |  | 
364  |  |   static void process_hstem (op_code_t op, ENV &env, PARAM& param)  | 
365  | 0  |   { | 
366  | 0  |     env.hstem_count += env.argStack.get_count () / 2;  | 
367  | 0  |     OPSET::flush_args_and_op (op, env, param);  | 
368  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::process_hstem(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::process_hstem(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::process_hstem(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::process_hstem(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::process_hstem(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
369  |  |  | 
370  |  |   static void process_vstem (op_code_t op, ENV &env, PARAM& param)  | 
371  | 0  |   { | 
372  | 0  |     env.vstem_count += env.argStack.get_count () / 2;  | 
373  | 0  |     OPSET::flush_args_and_op (op, env, param);  | 
374  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::process_vstem(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::process_vstem(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::process_vstem(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::process_vstem(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::process_vstem(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
375  |  |  | 
376  |  |   static void process_hintmask (op_code_t op, ENV &env, PARAM& param)  | 
377  | 0  |   { | 
378  | 0  |     env.determine_hintmask_size ();  | 
379  | 0  |     if (likely (env.str_ref.avail (env.hintmask_size)))  | 
380  | 0  |     { | 
381  | 0  |       OPSET::flush_hintmask (op, env, param);  | 
382  | 0  |       env.str_ref.inc (env.hintmask_size);  | 
383  | 0  |     }  | 
384  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::process_hintmask(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::process_hintmask(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::process_hintmask(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::process_hintmask(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::process_hintmask(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
385  |  |  | 
386  |  |   static void process_post_flex (op_code_t op, ENV &env, PARAM& param)  | 
387  | 0  |   { | 
388  | 0  |     OPSET::flush_args_and_op (op, env, param);  | 
389  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::process_post_flex(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::process_post_flex(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::process_post_flex(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::process_post_flex(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::process_post_flex(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
390  |  |  | 
391  |  |   static void check_width (op_code_t op, ENV &env, PARAM& param)  | 
392  | 0  |   {}Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::check_width(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::check_width(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
393  |  |  | 
394  |  |   static void process_post_move (op_code_t op, ENV &env, PARAM& param)  | 
395  | 0  |   { | 
396  | 0  |     if (!env.seen_moveto)  | 
397  | 0  |     { | 
398  | 0  |       env.determine_hintmask_size ();  | 
399  | 0  |       env.seen_moveto = true;  | 
400  | 0  |     }  | 
401  | 0  |     OPSET::flush_args_and_op (op, env, param);  | 
402  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::process_post_move(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::process_post_move(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::process_post_move(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::process_post_move(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::process_post_move(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
403  |  |  | 
404  |  |   static void process_post_path (op_code_t op, ENV &env, PARAM& param)  | 
405  | 0  |   { | 
406  | 0  |     OPSET::flush_args_and_op (op, env, param);  | 
407  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::process_post_path(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::process_post_path(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::process_post_path(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::process_post_path(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::process_post_path(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
408  |  |  | 
409  |  |   static void flush_args_and_op (op_code_t op, ENV &env, PARAM& param)  | 
410  | 0  |   { | 
411  | 0  |     OPSET::flush_args (env, param);  | 
412  | 0  |     OPSET::flush_op (op, env, param);  | 
413  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::flush_args_and_op(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::flush_args_and_op(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::flush_args_and_op(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::flush_args_and_op(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::flush_args_and_op(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
414  |  |  | 
415  |  |   static void flush_args (ENV &env, PARAM& param)  | 
416  | 0  |   { | 
417  | 0  |     env.pop_n_args (env.argStack.get_count ());  | 
418  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::flush_args(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::flush_args(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::flush_args(CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::flush_args(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::flush_args(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
419  |  |  | 
420  |  |   static void flush_op (op_code_t op, ENV &env, PARAM& param)  | 
421  | 0  |   { | 
422  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::flush_op(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::flush_op(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::flush_op(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::flush_op(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::flush_op(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
423  |  |  | 
424  |  |   static void flush_hintmask (op_code_t op, ENV &env, PARAM& param)  | 
425  | 0  |   { | 
426  | 0  |     OPSET::flush_args_and_op (op, env, param);  | 
427  | 0  |   } Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t, cff1_path_procs_extents_t>::flush_hintmask(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t, cff1_path_procs_path_t>::flush_hintmask(unsigned int, CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff1_cs_opset_seac_t, CFF::cff1_cs_interp_env_t, get_seac_param_t, CFF::path_procs_null_t<CFF::cff1_cs_interp_env_t, get_seac_param_t> >::flush_hintmask(unsigned int, CFF::cff1_cs_interp_env_t&, get_seac_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t, cff2_path_procs_extents_t>::flush_hintmask(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_opset_t<CFF::number_t, cff2_cs_opset_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t, cff2_path_procs_path_t>::flush_hintmask(unsigned int, CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
428  |  |  | 
429  |  |   static bool is_number_op (op_code_t op)  | 
430  |  |   { | 
431  |  |     switch (op)  | 
432  |  |     { | 
433  |  |       case OpCode_shortint:  | 
434  |  |       case OpCode_fixedcs:  | 
435  |  |       case OpCode_TwoBytePosInt0: case OpCode_TwoBytePosInt1:  | 
436  |  |       case OpCode_TwoBytePosInt2: case OpCode_TwoBytePosInt3:  | 
437  |  |       case OpCode_TwoByteNegInt0: case OpCode_TwoByteNegInt1:  | 
438  |  |       case OpCode_TwoByteNegInt2: case OpCode_TwoByteNegInt3:  | 
439  |  |   return true;  | 
440  |  |  | 
441  |  |       default:  | 
442  |  |   /* 1-byte integer */  | 
443  |  |   return (OpCode_OneByteIntFirst <= op) && (op <= OpCode_OneByteIntLast);  | 
444  |  |     }  | 
445  |  |   }  | 
446  |  |  | 
447  |  |   protected:  | 
448  |  |   typedef opset_t<ARG>  SUPER;  | 
449  |  | };  | 
450  |  |  | 
451  |  | template <typename PATH, typename ENV, typename PARAM>  | 
452  |  | struct path_procs_t  | 
453  |  | { | 
454  |  |   static void rmoveto (ENV &env, PARAM& param)  | 
455  | 0  |   { | 
456  | 0  |     point_t pt1 = env.get_pt ();  | 
457  | 0  |     const number_t &dy = env.pop_arg ();  | 
458  | 0  |     const number_t &dx = env.pop_arg ();  | 
459  | 0  |     pt1.move (dx, dy);  | 
460  | 0  |     PATH::moveto (env, param, pt1);  | 
461  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::rmoveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::rmoveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::rmoveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::rmoveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
462  |  |  | 
463  |  |   static void hmoveto (ENV &env, PARAM& param)  | 
464  | 0  |   { | 
465  | 0  |     point_t pt1 = env.get_pt ();  | 
466  | 0  |     pt1.move_x (env.pop_arg ());  | 
467  | 0  |     PATH::moveto (env, param, pt1);  | 
468  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::hmoveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::hmoveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::hmoveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::hmoveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
469  |  |  | 
470  |  |   static void vmoveto (ENV &env, PARAM& param)  | 
471  | 0  |   { | 
472  | 0  |     point_t pt1 = env.get_pt ();  | 
473  | 0  |     pt1.move_y (env.pop_arg ());  | 
474  | 0  |     PATH::moveto (env, param, pt1);  | 
475  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::vmoveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::vmoveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::vmoveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::vmoveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
476  |  |  | 
477  |  |   static void rlineto (ENV &env, PARAM& param)  | 
478  | 0  |   { | 
479  | 0  |     for (unsigned int i = 0; i + 2 <= env.argStack.get_count (); i += 2)  | 
480  | 0  |     { | 
481  | 0  |       point_t pt1 = env.get_pt ();  | 
482  | 0  |       pt1.move (env.eval_arg (i), env.eval_arg (i+1));  | 
483  | 0  |       PATH::line (env, param, pt1);  | 
484  | 0  |     }  | 
485  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::rlineto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::rlineto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::rlineto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::rlineto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
486  |  |  | 
487  |  |   static void hlineto (ENV &env, PARAM& param)  | 
488  | 0  |   { | 
489  | 0  |     point_t pt1;  | 
490  | 0  |     unsigned int i = 0;  | 
491  | 0  |     for (; i + 2 <= env.argStack.get_count (); i += 2)  | 
492  | 0  |     { | 
493  | 0  |       pt1 = env.get_pt ();  | 
494  | 0  |       pt1.move_x (env.eval_arg (i));  | 
495  | 0  |       PATH::line (env, param, pt1);  | 
496  | 0  |       pt1.move_y (env.eval_arg (i+1));  | 
497  | 0  |       PATH::line (env, param, pt1);  | 
498  | 0  |     }  | 
499  | 0  |     if (i < env.argStack.get_count ())  | 
500  | 0  |     { | 
501  | 0  |       pt1 = env.get_pt ();  | 
502  | 0  |       pt1.move_x (env.eval_arg (i));  | 
503  | 0  |       PATH::line (env, param, pt1);  | 
504  | 0  |     }  | 
505  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::hlineto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::hlineto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::hlineto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::hlineto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
506  |  |  | 
507  |  |   static void vlineto (ENV &env, PARAM& param)  | 
508  | 0  |   { | 
509  | 0  |     point_t pt1;  | 
510  | 0  |     unsigned int i = 0;  | 
511  | 0  |     for (; i + 2 <= env.argStack.get_count (); i += 2)  | 
512  | 0  |     { | 
513  | 0  |       pt1 = env.get_pt ();  | 
514  | 0  |       pt1.move_y (env.eval_arg (i));  | 
515  | 0  |       PATH::line (env, param, pt1);  | 
516  | 0  |       pt1.move_x (env.eval_arg (i+1));  | 
517  | 0  |       PATH::line (env, param, pt1);  | 
518  | 0  |     }  | 
519  | 0  |     if (i < env.argStack.get_count ())  | 
520  | 0  |     { | 
521  | 0  |       pt1 = env.get_pt ();  | 
522  | 0  |       pt1.move_y (env.eval_arg (i));  | 
523  | 0  |       PATH::line (env, param, pt1);  | 
524  | 0  |     }  | 
525  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::vlineto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::vlineto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::vlineto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::vlineto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
526  |  |  | 
527  |  |   static void rrcurveto (ENV &env, PARAM& param)  | 
528  | 0  |   { | 
529  | 0  |     for (unsigned int i = 0; i + 6 <= env.argStack.get_count (); i += 6)  | 
530  | 0  |     { | 
531  | 0  |       point_t pt1 = env.get_pt ();  | 
532  | 0  |       pt1.move (env.eval_arg (i), env.eval_arg (i+1));  | 
533  | 0  |       point_t pt2 = pt1;  | 
534  | 0  |       pt2.move (env.eval_arg (i+2), env.eval_arg (i+3));  | 
535  | 0  |       point_t pt3 = pt2;  | 
536  | 0  |       pt3.move (env.eval_arg (i+4), env.eval_arg (i+5));  | 
537  | 0  |       PATH::curve (env, param, pt1, pt2, pt3);  | 
538  | 0  |     }  | 
539  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::rrcurveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::rrcurveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::rrcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::rrcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
540  |  |  | 
541  |  |   static void rcurveline (ENV &env, PARAM& param)  | 
542  | 0  |   { | 
543  | 0  |     unsigned int arg_count = env.argStack.get_count ();  | 
544  | 0  |     if (unlikely (arg_count < 8))  | 
545  | 0  |       return;  | 
546  |  |  | 
547  | 0  |     unsigned int i = 0;  | 
548  | 0  |     unsigned int curve_limit = arg_count - 2;  | 
549  | 0  |     for (; i + 6 <= curve_limit; i += 6)  | 
550  | 0  |     { | 
551  | 0  |       point_t pt1 = env.get_pt ();  | 
552  | 0  |       pt1.move (env.eval_arg (i), env.eval_arg (i+1));  | 
553  | 0  |       point_t pt2 = pt1;  | 
554  | 0  |       pt2.move (env.eval_arg (i+2), env.eval_arg (i+3));  | 
555  | 0  |       point_t pt3 = pt2;  | 
556  | 0  |       pt3.move (env.eval_arg (i+4), env.eval_arg (i+5));  | 
557  | 0  |       PATH::curve (env, param, pt1, pt2, pt3);  | 
558  | 0  |     }  | 
559  |  | 
  | 
560  | 0  |     point_t pt1 = env.get_pt ();  | 
561  | 0  |     pt1.move (env.eval_arg (i), env.eval_arg (i+1));  | 
562  | 0  |     PATH::line (env, param, pt1);  | 
563  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::rcurveline(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::rcurveline(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::rcurveline(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::rcurveline(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
564  |  |  | 
565  |  |   static void rlinecurve (ENV &env, PARAM& param)  | 
566  | 0  |   { | 
567  | 0  |     unsigned int arg_count = env.argStack.get_count ();  | 
568  | 0  |     if (unlikely (arg_count < 8))  | 
569  | 0  |       return;  | 
570  |  |  | 
571  | 0  |     unsigned int i = 0;  | 
572  | 0  |     unsigned int line_limit = arg_count - 6;  | 
573  | 0  |     for (; i + 2 <= line_limit; i += 2)  | 
574  | 0  |     { | 
575  | 0  |       point_t pt1 = env.get_pt ();  | 
576  | 0  |       pt1.move (env.eval_arg (i), env.eval_arg (i+1));  | 
577  | 0  |       PATH::line (env, param, pt1);  | 
578  | 0  |     }  | 
579  |  | 
  | 
580  | 0  |     point_t pt1 = env.get_pt ();  | 
581  | 0  |     pt1.move (env.eval_arg (i), env.eval_arg (i+1));  | 
582  | 0  |     point_t pt2 = pt1;  | 
583  | 0  |     pt2.move (env.eval_arg (i+2), env.eval_arg (i+3));  | 
584  | 0  |     point_t pt3 = pt2;  | 
585  | 0  |     pt3.move (env.eval_arg (i+4), env.eval_arg (i+5));  | 
586  | 0  |     PATH::curve (env, param, pt1, pt2, pt3);  | 
587  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::rlinecurve(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::rlinecurve(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::rlinecurve(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::rlinecurve(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
588  |  |  | 
589  |  |   static void vvcurveto (ENV &env, PARAM& param)  | 
590  | 0  |   { | 
591  | 0  |     unsigned int i = 0;  | 
592  | 0  |     point_t pt1 = env.get_pt ();  | 
593  | 0  |     if ((env.argStack.get_count () & 1) != 0)  | 
594  | 0  |       pt1.move_x (env.eval_arg (i++));  | 
595  | 0  |     for (; i + 4 <= env.argStack.get_count (); i += 4)  | 
596  | 0  |     { | 
597  | 0  |       pt1.move_y (env.eval_arg (i));  | 
598  | 0  |       point_t pt2 = pt1;  | 
599  | 0  |       pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
600  | 0  |       point_t pt3 = pt2;  | 
601  | 0  |       pt3.move_y (env.eval_arg (i+3));  | 
602  | 0  |       PATH::curve (env, param, pt1, pt2, pt3);  | 
603  | 0  |       pt1 = env.get_pt ();  | 
604  | 0  |     }  | 
605  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::vvcurveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::vvcurveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::vvcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::vvcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
606  |  |  | 
607  |  |   static void hhcurveto (ENV &env, PARAM& param)  | 
608  | 0  |   { | 
609  | 0  |     unsigned int i = 0;  | 
610  | 0  |     point_t pt1 = env.get_pt ();  | 
611  | 0  |     if ((env.argStack.get_count () & 1) != 0)  | 
612  | 0  |       pt1.move_y (env.eval_arg (i++));  | 
613  | 0  |     for (; i + 4 <= env.argStack.get_count (); i += 4)  | 
614  | 0  |     { | 
615  | 0  |       pt1.move_x (env.eval_arg (i));  | 
616  | 0  |       point_t pt2 = pt1;  | 
617  | 0  |       pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
618  | 0  |       point_t pt3 = pt2;  | 
619  | 0  |       pt3.move_x (env.eval_arg (i+3));  | 
620  | 0  |       PATH::curve (env, param, pt1, pt2, pt3);  | 
621  | 0  |       pt1 = env.get_pt ();  | 
622  | 0  |     }  | 
623  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::hhcurveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::hhcurveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::hhcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::hhcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
624  |  |  | 
625  |  |   static void vhcurveto (ENV &env, PARAM& param)  | 
626  | 0  |   { | 
627  | 0  |     point_t pt1, pt2, pt3;  | 
628  | 0  |     unsigned int i = 0;  | 
629  | 0  |     if ((env.argStack.get_count () % 8) >= 4)  | 
630  | 0  |     { | 
631  | 0  |       point_t pt1 = env.get_pt ();  | 
632  | 0  |       pt1.move_y (env.eval_arg (i));  | 
633  | 0  |       point_t pt2 = pt1;  | 
634  | 0  |       pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
635  | 0  |       point_t pt3 = pt2;  | 
636  | 0  |       pt3.move_x (env.eval_arg (i+3));  | 
637  | 0  |       i += 4;  | 
638  |  | 
  | 
639  | 0  |       for (; i + 8 <= env.argStack.get_count (); i += 8)  | 
640  | 0  |       { | 
641  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
642  | 0  |   pt1 = env.get_pt ();  | 
643  | 0  |   pt1.move_x (env.eval_arg (i));  | 
644  | 0  |   pt2 = pt1;  | 
645  | 0  |   pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
646  | 0  |   pt3 = pt2;  | 
647  | 0  |   pt3.move_y (env.eval_arg (i+3));  | 
648  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
649  |  | 
  | 
650  | 0  |   pt1 = pt3;  | 
651  | 0  |   pt1.move_y (env.eval_arg (i+4));  | 
652  | 0  |   pt2 = pt1;  | 
653  | 0  |   pt2.move (env.eval_arg (i+5), env.eval_arg (i+6));  | 
654  | 0  |   pt3 = pt2;  | 
655  | 0  |   pt3.move_x (env.eval_arg (i+7));  | 
656  | 0  |       }  | 
657  | 0  |       if (i < env.argStack.get_count ())  | 
658  | 0  |   pt3.move_y (env.eval_arg (i));  | 
659  | 0  |       PATH::curve (env, param, pt1, pt2, pt3);  | 
660  | 0  |     }  | 
661  | 0  |     else  | 
662  | 0  |     { | 
663  | 0  |       for (; i + 8 <= env.argStack.get_count (); i += 8)  | 
664  | 0  |       { | 
665  | 0  |   pt1 = env.get_pt ();  | 
666  | 0  |   pt1.move_y (env.eval_arg (i));  | 
667  | 0  |   pt2 = pt1;  | 
668  | 0  |   pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
669  | 0  |   pt3 = pt2;  | 
670  | 0  |   pt3.move_x (env.eval_arg (i+3));  | 
671  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
672  |  | 
  | 
673  | 0  |   pt1 = pt3;  | 
674  | 0  |   pt1.move_x (env.eval_arg (i+4));  | 
675  | 0  |   pt2 = pt1;  | 
676  | 0  |   pt2.move (env.eval_arg (i+5), env.eval_arg (i+6));  | 
677  | 0  |   pt3 = pt2;  | 
678  | 0  |   pt3.move_y (env.eval_arg (i+7));  | 
679  | 0  |   if ((env.argStack.get_count () - i < 16) && ((env.argStack.get_count () & 1) != 0))  | 
680  | 0  |     pt3.move_x (env.eval_arg (i+8));  | 
681  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
682  | 0  |       }  | 
683  | 0  |     }  | 
684  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::vhcurveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::vhcurveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::vhcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::vhcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
685  |  |  | 
686  |  |   static void hvcurveto (ENV &env, PARAM& param)  | 
687  | 0  |   { | 
688  | 0  |     point_t pt1, pt2, pt3;  | 
689  | 0  |     unsigned int i = 0;  | 
690  | 0  |     if ((env.argStack.get_count () % 8) >= 4)  | 
691  | 0  |     { | 
692  | 0  |       point_t pt1 = env.get_pt ();  | 
693  | 0  |       pt1.move_x (env.eval_arg (i));  | 
694  | 0  |       point_t pt2 = pt1;  | 
695  | 0  |       pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
696  | 0  |       point_t pt3 = pt2;  | 
697  | 0  |       pt3.move_y (env.eval_arg (i+3));  | 
698  | 0  |       i += 4;  | 
699  |  | 
  | 
700  | 0  |       for (; i + 8 <= env.argStack.get_count (); i += 8)  | 
701  | 0  |       { | 
702  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
703  | 0  |   pt1 = env.get_pt ();  | 
704  | 0  |   pt1.move_y (env.eval_arg (i));  | 
705  | 0  |   pt2 = pt1;  | 
706  | 0  |   pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
707  | 0  |   pt3 = pt2;  | 
708  | 0  |   pt3.move_x (env.eval_arg (i+3));  | 
709  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
710  |  | 
  | 
711  | 0  |   pt1 = pt3;  | 
712  | 0  |   pt1.move_x (env.eval_arg (i+4));  | 
713  | 0  |   pt2 = pt1;  | 
714  | 0  |   pt2.move (env.eval_arg (i+5), env.eval_arg (i+6));  | 
715  | 0  |   pt3 = pt2;  | 
716  | 0  |   pt3.move_y (env.eval_arg (i+7));  | 
717  | 0  |       }  | 
718  | 0  |       if (i < env.argStack.get_count ())  | 
719  | 0  |   pt3.move_x (env.eval_arg (i));  | 
720  | 0  |       PATH::curve (env, param, pt1, pt2, pt3);  | 
721  | 0  |     }  | 
722  | 0  |     else  | 
723  | 0  |     { | 
724  | 0  |       for (; i + 8 <= env.argStack.get_count (); i += 8)  | 
725  | 0  |       { | 
726  | 0  |   pt1 = env.get_pt ();  | 
727  | 0  |   pt1.move_x (env.eval_arg (i));  | 
728  | 0  |   pt2 = pt1;  | 
729  | 0  |   pt2.move (env.eval_arg (i+1), env.eval_arg (i+2));  | 
730  | 0  |   pt3 = pt2;  | 
731  | 0  |   pt3.move_y (env.eval_arg (i+3));  | 
732  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
733  |  | 
  | 
734  | 0  |   pt1 = pt3;  | 
735  | 0  |   pt1.move_y (env.eval_arg (i+4));  | 
736  | 0  |   pt2 = pt1;  | 
737  | 0  |   pt2.move (env.eval_arg (i+5), env.eval_arg (i+6));  | 
738  | 0  |   pt3 = pt2;  | 
739  | 0  |   pt3.move_x (env.eval_arg (i+7));  | 
740  | 0  |   if ((env.argStack.get_count () - i < 16) && ((env.argStack.get_count () & 1) != 0))  | 
741  | 0  |     pt3.move_y (env.eval_arg (i+8));  | 
742  | 0  |   PATH::curve (env, param, pt1, pt2, pt3);  | 
743  | 0  |       }  | 
744  | 0  |     }  | 
745  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::hvcurveto(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::hvcurveto(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::hvcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::hvcurveto(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
746  |  |  | 
747  |  |   /* default actions to be overridden */  | 
748  |  |   static void moveto (ENV &env, PARAM& param, const point_t &pt)  | 
749  |  |   { env.moveto (pt); } | 
750  |  |  | 
751  |  |   static void line (ENV &env, PARAM& param, const point_t &pt1)  | 
752  |  |   { PATH::moveto (env, param, pt1); } | 
753  |  |  | 
754  |  |   static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &pt3)  | 
755  |  |   { PATH::moveto (env, param, pt3); } | 
756  |  |  | 
757  |  |   static void hflex (ENV &env, PARAM& param)  | 
758  | 0  |   { | 
759  | 0  |     if (likely (env.argStack.get_count () == 7))  | 
760  | 0  |     { | 
761  | 0  |       point_t pt1 = env.get_pt ();  | 
762  | 0  |       pt1.move_x (env.eval_arg (0));  | 
763  | 0  |       point_t pt2 = pt1;  | 
764  | 0  |       pt2.move (env.eval_arg (1), env.eval_arg (2));  | 
765  | 0  |       point_t pt3 = pt2;  | 
766  | 0  |       pt3.move_x (env.eval_arg (3));  | 
767  | 0  |       point_t pt4 = pt3;  | 
768  | 0  |       pt4.move_x (env.eval_arg (4));  | 
769  | 0  |       point_t pt5 = pt4;  | 
770  | 0  |       pt5.move_x (env.eval_arg (5));  | 
771  | 0  |       pt5.y = pt1.y;  | 
772  | 0  |       point_t pt6 = pt5;  | 
773  | 0  |       pt6.move_x (env.eval_arg (6));  | 
774  |  | 
  | 
775  | 0  |       curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6);  | 
776  | 0  |     }  | 
777  | 0  |     else  | 
778  | 0  |       env.set_error ();  | 
779  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::hflex(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::hflex(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::hflex(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::hflex(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
780  |  |  | 
781  |  |   static void flex (ENV &env, PARAM& param)  | 
782  | 0  |   { | 
783  | 0  |     if (likely (env.argStack.get_count () == 13))  | 
784  | 0  |     { | 
785  | 0  |       point_t pt1 = env.get_pt ();  | 
786  | 0  |       pt1.move (env.eval_arg (0), env.eval_arg (1));  | 
787  | 0  |       point_t pt2 = pt1;  | 
788  | 0  |       pt2.move (env.eval_arg (2), env.eval_arg (3));  | 
789  | 0  |       point_t pt3 = pt2;  | 
790  | 0  |       pt3.move (env.eval_arg (4), env.eval_arg (5));  | 
791  | 0  |       point_t pt4 = pt3;  | 
792  | 0  |       pt4.move (env.eval_arg (6), env.eval_arg (7));  | 
793  | 0  |       point_t pt5 = pt4;  | 
794  | 0  |       pt5.move (env.eval_arg (8), env.eval_arg (9));  | 
795  | 0  |       point_t pt6 = pt5;  | 
796  | 0  |       pt6.move (env.eval_arg (10), env.eval_arg (11));  | 
797  |  | 
  | 
798  | 0  |       curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6);  | 
799  | 0  |     }  | 
800  | 0  |     else  | 
801  | 0  |       env.set_error ();  | 
802  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::flex(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::flex(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::flex(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::flex(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
803  |  |  | 
804  |  |   static void hflex1 (ENV &env, PARAM& param)  | 
805  | 0  |   { | 
806  | 0  |     if (likely (env.argStack.get_count () == 9))  | 
807  | 0  |     { | 
808  | 0  |       point_t pt1 = env.get_pt ();  | 
809  | 0  |       pt1.move (env.eval_arg (0), env.eval_arg (1));  | 
810  | 0  |       point_t pt2 = pt1;  | 
811  | 0  |       pt2.move (env.eval_arg (2), env.eval_arg (3));  | 
812  | 0  |       point_t pt3 = pt2;  | 
813  | 0  |       pt3.move_x (env.eval_arg (4));  | 
814  | 0  |       point_t pt4 = pt3;  | 
815  | 0  |       pt4.move_x (env.eval_arg (5));  | 
816  | 0  |       point_t pt5 = pt4;  | 
817  | 0  |       pt5.move (env.eval_arg (6), env.eval_arg (7));  | 
818  | 0  |       point_t pt6 = pt5;  | 
819  | 0  |       pt6.move_x (env.eval_arg (8));  | 
820  | 0  |       pt6.y = env.get_pt ().y;  | 
821  |  | 
  | 
822  | 0  |       curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6);  | 
823  | 0  |     }  | 
824  | 0  |     else  | 
825  | 0  |       env.set_error ();  | 
826  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::hflex1(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::hflex1(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::hflex1(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::hflex1(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
827  |  |  | 
828  |  |   static void flex1 (ENV &env, PARAM& param)  | 
829  | 0  |   { | 
830  | 0  |     if (likely (env.argStack.get_count () == 11))  | 
831  | 0  |     { | 
832  | 0  |       point_t d;  | 
833  | 0  |       for (unsigned int i = 0; i < 10; i += 2)  | 
834  | 0  |   d.move (env.eval_arg (i), env.eval_arg (i+1));  | 
835  |  | 
  | 
836  | 0  |       point_t pt1 = env.get_pt ();  | 
837  | 0  |       pt1.move (env.eval_arg (0), env.eval_arg (1));  | 
838  | 0  |       point_t pt2 = pt1;  | 
839  | 0  |       pt2.move (env.eval_arg (2), env.eval_arg (3));  | 
840  | 0  |       point_t pt3 = pt2;  | 
841  | 0  |       pt3.move (env.eval_arg (4), env.eval_arg (5));  | 
842  | 0  |       point_t pt4 = pt3;  | 
843  | 0  |       pt4.move (env.eval_arg (6), env.eval_arg (7));  | 
844  | 0  |       point_t pt5 = pt4;  | 
845  | 0  |       pt5.move (env.eval_arg (8), env.eval_arg (9));  | 
846  | 0  |       point_t pt6 = pt5;  | 
847  |  | 
  | 
848  | 0  |       if (fabs (d.x.to_real ()) > fabs (d.y.to_real ()))  | 
849  | 0  |       { | 
850  | 0  |   pt6.move_x (env.eval_arg (10));  | 
851  | 0  |   pt6.y = env.get_pt ().y;  | 
852  | 0  |       }  | 
853  | 0  |       else  | 
854  | 0  |       { | 
855  | 0  |   pt6.x = env.get_pt ().x;  | 
856  | 0  |   pt6.move_y (env.eval_arg (10));  | 
857  | 0  |       }  | 
858  |  | 
  | 
859  | 0  |       curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6);  | 
860  | 0  |     }  | 
861  | 0  |     else  | 
862  | 0  |       env.set_error ();  | 
863  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::flex1(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::flex1(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::flex1(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::flex1(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&)  | 
864  |  |  | 
865  |  |   protected:  | 
866  |  |   static void curve2 (ENV &env, PARAM& param,  | 
867  |  |           const point_t &pt1, const point_t &pt2, const point_t &pt3,  | 
868  |  |           const point_t &pt4, const point_t &pt5, const point_t &pt6)  | 
869  | 0  |   { | 
870  | 0  |     PATH::curve (env, param, pt1, pt2, pt3);  | 
871  | 0  |     PATH::curve (env, param, pt4, pt5, pt6);  | 
872  | 0  |   } Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_extents_t, CFF::cff1_cs_interp_env_t, cff1_extents_param_t>::curve2(CFF::cff1_cs_interp_env_t&, cff1_extents_param_t&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&) Unexecuted instantiation: CFF::path_procs_t<cff1_path_procs_path_t, CFF::cff1_cs_interp_env_t, cff1_path_param_t>::curve2(CFF::cff1_cs_interp_env_t&, cff1_path_param_t&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_extents_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_extents_param_t>::curve2(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_extents_param_t&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&) Unexecuted instantiation: CFF::path_procs_t<cff2_path_procs_path_t, CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_path_param_t>::curve2(CFF::cff2_cs_interp_env_t<CFF::number_t>&, cff2_path_param_t&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&, CFF::point_t const&)  | 
873  |  | };  | 
874  |  |  | 
875  |  | template <typename ENV, typename OPSET, typename PARAM>  | 
876  |  | struct cs_interpreter_t : interpreter_t<ENV>  | 
877  |  | { | 
878  | 0  |   cs_interpreter_t (ENV& env_) : interpreter_t<ENV> (env_) {}Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff1_cs_interp_env_t, cff1_cs_opset_extents_t, cff1_extents_param_t>::cs_interpreter_t(CFF::cff1_cs_interp_env_t&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff1_cs_interp_env_t, cff1_cs_opset_path_t, cff1_path_param_t>::cs_interpreter_t(CFF::cff1_cs_interp_env_t&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff1_cs_interp_env_t, cff1_cs_opset_seac_t, get_seac_param_t>::cs_interpreter_t(CFF::cff1_cs_interp_env_t&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_cs_opset_extents_t, cff2_extents_param_t>::cs_interpreter_t(CFF::cff2_cs_interp_env_t<CFF::number_t>&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_cs_opset_path_t, cff2_path_param_t>::cs_interpreter_t(CFF::cff2_cs_interp_env_t<CFF::number_t>&)  | 
879  |  |  | 
880  |  |   bool interpret (PARAM& param)  | 
881  | 0  |   { | 
882  | 0  |     SUPER::env.set_endchar (false);  | 
883  |  | 
  | 
884  | 0  |     unsigned max_ops = HB_CFF_MAX_OPS;  | 
885  | 0  |     for (;;) { | 
886  | 0  |       OPSET::process_op (SUPER::env.fetch_op (), SUPER::env, param);  | 
887  | 0  |       if (unlikely (SUPER::env.in_error () || !--max_ops))  | 
888  | 0  |       { | 
889  | 0  |   SUPER::env.set_error ();  | 
890  | 0  |   return false;  | 
891  | 0  |       }  | 
892  | 0  |       if (SUPER::env.is_endchar ())  | 
893  | 0  |   break;  | 
894  | 0  |     }  | 
895  |  |  | 
896  | 0  |     return true;  | 
897  | 0  |   } Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff1_cs_interp_env_t, cff1_cs_opset_extents_t, cff1_extents_param_t>::interpret(cff1_extents_param_t&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff1_cs_interp_env_t, cff1_cs_opset_path_t, cff1_path_param_t>::interpret(cff1_path_param_t&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff1_cs_interp_env_t, cff1_cs_opset_seac_t, get_seac_param_t>::interpret(get_seac_param_t&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_cs_opset_extents_t, cff2_extents_param_t>::interpret(cff2_extents_param_t&) Unexecuted instantiation: CFF::cs_interpreter_t<CFF::cff2_cs_interp_env_t<CFF::number_t>, cff2_cs_opset_path_t, cff2_path_param_t>::interpret(cff2_path_param_t&)  | 
898  |  |  | 
899  |  |   private:  | 
900  |  |   typedef interpreter_t<ENV> SUPER;  | 
901  |  | };  | 
902  |  |  | 
903  |  | } /* namespace CFF */  | 
904  |  |  | 
905  |  | #endif /* HB_CFF_INTERP_CS_COMMON_HH */  |