/* glyphshow */ int gs_glyphshow_init(gs_show_enum * penum, gs_state * pgs, gs_glyph glyph) { gs_text_enum_t *pte; int code = gs_glyphshow_begin(pgs, glyph, pgs->memory, &pte); return show_n_begin(penum, pgs, code, pte); }
/* <charname> glyphshow - */ static int zglyphshow(i_ctx_t *i_ctx_p) { gs_glyph glyph; gs_text_enum_t *penum; int code; if ((code = glyph_show_setup(i_ctx_p, &glyph)) != 0 || (code = gs_glyphshow_begin(igs, glyph, imemory_local, &penum)) < 0) return code; *(op_proc_t *)&penum->enum_client_data = zglyphshow; if ((code = op_show_finish_setup(i_ctx_p, penum, 1, NULL)) < 0) { ifree_object(penum, "zglyphshow"); return code; } return op_show_continue_pop(i_ctx_p, 1); }