Lines Matching refs:pcis

43 reset_stem_hints(gs_type1_state * pcis)  in reset_stem_hints()  argument
45 pcis->hstem_hints.count = pcis->hstem_hints.replaced_count = 0; in reset_stem_hints()
46 pcis->vstem_hints.count = pcis->vstem_hints.replaced_count = 0; in reset_stem_hints()
47 update_stem_hints(pcis); in reset_stem_hints()
62 type1_replace_stem_hints(gs_type1_state * pcis) in type1_replace_stem_hints() argument
65 pcis->hstem_hints.count, pcis->vstem_hints.count); in type1_replace_stem_hints()
66 save_replaced_hints(&pcis->hstem_hints); in type1_replace_stem_hints()
67 save_replaced_hints(&pcis->vstem_hints); in type1_replace_stem_hints()
69 pcis->hstem_hints.replaced_count, in type1_replace_stem_hints()
70 pcis->vstem_hints.replaced_count); in type1_replace_stem_hints()
75 update_stem_hints(gs_type1_state * pcis) in update_stem_hints() argument
77 pcis->hstem_hints.current = 0; in update_stem_hints()
78 pcis->vstem_hints.current = 0; in update_stem_hints()
84 #define c_fixed(d, c) m_fixed(d, c, pcis->fc, max_coeff_bits)
172 type1_do_hstem(gs_type1_state * pcis, fixed y, fixed dy, in type1_do_hstem() argument
181 if (!pcis->fh.use_y_hints || !pmat->txy_fixed_valid) in type1_do_hstem()
184 y += pcis->lsb.y + pcis->adxy.y; in type1_do_hstem()
185 if (pcis->fh.axes_swapped) { in type1_do_hstem()
186 psp = &pcis->scale.x; in type1_do_hstem()
187 v = pcis->vs_offset.x + c_fixed(y, yx) + pmat->tx_fixed; in type1_do_hstem()
190 psp = &pcis->scale.y; in type1_do_hstem()
191 v = pcis->vs_offset.y + c_fixed(y, yy) + pmat->ty_fixed; in type1_do_hstem()
200 psh = type1_stem(pcis, &pcis->hstem_hints, v, dv); in type1_do_hstem()
203 adj_dv = find_snap(dv, &pcis->fh.snap_h, psp); in type1_do_hstem()
204 pz = find_zone(pcis, vbot, vtop); in type1_do_hstem()
207 (pcis->fh.axes_swapped ? pcis->fh.x_inverted : pcis->fh.y_inverted); in type1_do_hstem()
219 …if (pos_over < pcis->fh.blue_shift || pcis->fh.suppress_overshoot) { /* Character is small, suppre… in type1_do_hstem()
244 store_stem_deltas(&pcis->hstem_hints, psh, psp, v, dv, adj_dv); in type1_do_hstem()
246 if_debug_print_add_stem('y', "[y]hstem", &pcis->hstem_hints, psh, in type1_do_hstem()
252 type1_do_vstem(gs_type1_state * pcis, fixed x, fixed dx, in type1_do_vstem() argument
259 if (!pcis->fh.use_x_hints) in type1_do_vstem()
262 x += pcis->lsb.x + pcis->adxy.x; in type1_do_vstem()
263 if (pcis->fh.axes_swapped) { in type1_do_vstem()
264 psp = &pcis->scale.y; in type1_do_vstem()
265 v = pcis->vs_offset.y + c_fixed(x, xy) + pmat->ty_fixed; in type1_do_vstem()
268 psp = &pcis->scale.x; in type1_do_vstem()
269 v = pcis->vs_offset.x + c_fixed(x, xx) + pmat->tx_fixed; in type1_do_vstem()
274 psh = type1_stem(pcis, &pcis->vstem_hints, v, dv); in type1_do_vstem()
277 adj_dv = find_snap(dv, &pcis->fh.snap_v, psp); in type1_do_vstem()
278 if (pcis->pfont->data.ForceBold && adj_dv < psp->unit) in type1_do_vstem()
281 store_stem_deltas(&pcis->vstem_hints, psh, psp, v, dv, adj_dv); in type1_do_vstem()
282 if_debug_print_add_stem('y', "[y]vstem", &pcis->vstem_hints, psh, in type1_do_vstem()
289 type1_do_center_vstem(gs_type1_state * pcis, fixed x0, fixed dx, in type1_do_center_vstem() argument
311 psxy = &pcis->vs_offset.x; in type1_do_center_vstem()
315 psxy = &pcis->vs_offset.y; in type1_do_center_vstem()
331 type1_stem(const gs_type1_state * pcis, stem_hint_table * psht, in type1_stem() argument
346 top->index = pcis->hstem_hints.count + pcis->vstem_hints.count; in type1_stem()
393 find_zone(gs_type1_state * pcis, fixed vbot, fixed vtop) in find_zone() argument
397 for (pz = &pcis->fh.a_zones[pcis->fh.a_zone_count]; in find_zone()
398 --pz >= &pcis->fh.a_zones[0]; in find_zone()
405 (int)(pz - &pcis->fh.a_zones[0])); in find_zone()