Lines Matching defs:ch_index
155 : ligatures(0), kern_hash_table(0), space_width(0), ch_index(0), nindices(0),
171 a_delete ch_index;
251 return c >= 0 && c < nindices && ch_index[c] >= 0;
276 int i = ch_index[c];
306 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
307 return scale(ch[ch_index[c]].height, point_size);
312 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
313 return scale(ch[ch_index[c]].depth, point_size);
318 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
319 return scale(ch[ch_index[c]].italic_correction, point_size);
324 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
325 return scale(ch[ch_index[c]].pre_math_space, point_size);
330 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
331 return scale(ch[ch_index[c]].subscript_correction, point_size);
378 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
379 return ch[ch_index[c]].type;
384 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
385 return ch[ch_index[c]].code;
400 assert(c >= 0 && c < nindices && ch_index[c] >= 0);
401 return ch[ch_index[c]].special_device_coding;
415 ch_index = new int[nindices];
417 ch_index[i] = -1;
424 int *old_ch_index = ch_index;
425 ch_index = new int[nindices];
426 memcpy(ch_index, old_ch_index, sizeof(int)*old_nindices);
428 ch_index[i] = -1;
451 if (ch_index[i] >= 0)
455 int *old_ch_index = ch_index;
456 ch_index = new int[i];
457 memcpy(ch_index, old_ch_index, i*sizeof(int));
479 ch_index[idx] = ch_used;
488 ch_index[new_index] = ch_index[old_index];