Lines Matching refs:pdsubf

389         pdf_font_resource_t *pdsubf;  in scan_cmap_text()  local
435 code = pdf_obtain_cidfont_resource(pdev, subfont, &pdsubf, &p); in scan_cmap_text()
446 code = pdf_obtain_font_resource(pte, &str1, &pdsubf); in scan_cmap_text()
449 cid = pdf_find_glyph(pdsubf, glyph); in scan_cmap_text()
451 code = pdf_make_font3_resource(pdev, subfont, &pdsubf); in scan_cmap_text()
454 code = pdf_attach_font_resource(pdev, subfont, pdsubf); in scan_cmap_text()
465 code = pdf_attached_font_resource(pdev, (gs_font *)subfont, &pdsubf, in scan_cmap_text()
473 !(pdsubf->u.simple.s.type3.cached[cid >> 3] & (0x80 >> (cid & 7)))) { in scan_cmap_text()
485 font_change = (pdsubf != pdsubf0 && pdsubf0 != NULL); in scan_cmap_text()
487 pdsubf0 = pdsubf; in scan_cmap_text()
492 pfd = pdsubf->FontDescriptor; in scan_cmap_text()
493 code = pdf_resize_resource_arrays(pdev, pdsubf, cid + 1); in scan_cmap_text()
505 if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_encrypted || in scan_cmap_text()
506 pdsubf->FontType == ft_encrypted2) { in scan_cmap_text()
511 code = pdf_obtain_cidfont_widths_arrays(pdev, pdsubf, wmode, &w, &w0, &v); in scan_cmap_text()
514 code = pdf_obtain_parent_type0_font_resource(pdev, pdsubf, font_index, in scan_cmap_text()
542 if (!(pdsubf->used[cid >> 3] & (0x80 >> (cid & 7)))) { in scan_cmap_text()
553 pdsubf->used[cid >> 3] |= 0x80 >> (cid & 7); in scan_cmap_text()
558 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text()
561 … code = pdf_glyph_widths(pdsubf, wmode, glyph, (gs_font *)subfont, &widths, in scan_cmap_text()
566 … if ((code == 0 /* just copied */ || pdsubf->Widths[cid] == 0) && !notdef_subst) { in scan_cmap_text()
569 code = pdf_glyph_widths(pdsubf, wmode, glyph, (gs_font *)subfont, &widths, in scan_cmap_text()
580 if (cid > pdsubf->count) in scan_cmap_text()
593 code = pdf_glyph_widths(pdsubf, 0, glyph, (gs_font *)subfont, &widths, in scan_cmap_text()
599 if (pdsubf->u.cidfont.CIDToGIDMap != 0) { in scan_cmap_text()
602 pdsubf->u.cidfont.CIDToGIDMap[cid] = in scan_cmap_text()
607 pdsubf->u.cidfont.used2[cid >> 3] |= 0x80 >> (cid & 7); in scan_cmap_text()
609 pdsubf->used[cid >> 3] |= 0x80 >> (cid & 7); in scan_cmap_text()
652 pdsubf = pdsubf0; in scan_cmap_text()
664 if (pdsubf0->FontType == ft_user_defined || pdsubf->FontType == ft_encrypted || in scan_cmap_text()
665 pdsubf->FontType == ft_encrypted2) in scan_cmap_text()
752 pdsubf0 = pdsubf; in scan_cmap_text()
798 pdf_font_resource_t *pdsubf; /* CIDFont */ in process_cid_text() local
847 code = pdf_obtain_font_resource(penum, NULL, &pdsubf); in process_cid_text()
853 if (pdsubf->u.cidfont.glyphshow_font_id != 0) in process_cid_text()
855 pdsubf->u.cidfont.glyphshow_font_id, &scaled_font->FontMatrix); in process_cid_text()
861 pdsubf->u.cidfont.glyphshow_font_id = font0->id; in process_cid_text()