Lines Matching refs:pdsubf

431         pdf_font_resource_t *pdsubf;  in scan_cmap_text()  local
477 code = pdf_obtain_cidfont_resource(pdev, subfont, &pdsubf, &p); in scan_cmap_text()
490 code = pdf_obtain_font_resource(pte, &str1, &pdsubf); in scan_cmap_text()
493 cid = pdf_find_glyph(pdsubf, glyph); in scan_cmap_text()
495 code = pdf_make_font3_resource(pdev, subfont, &pdsubf); in scan_cmap_text()
498 code = pdf_attach_font_resource(pdev, subfont, pdsubf); in scan_cmap_text()
509 code = pdf_attached_font_resource(pdev, (gs_font *)subfont, &pdsubf, in scan_cmap_text()
517 !(pdsubf->u.simple.s.type3.cached[cid >> 3] & (0x80 >> (cid & 7)))) { in scan_cmap_text()
536 font_change = (pdsubf != pdsubf0 && pdsubf0 != NULL); in scan_cmap_text()
538 pdsubf0 = pdsubf; in scan_cmap_text()
543 pfd = pdsubf->FontDescriptor; in scan_cmap_text()
544 code = pdf_resize_resource_arrays(pdev, pdsubf, cid + 1); in scan_cmap_text()
556 …if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_PDF_user_defined || pdsubf->Fo… in scan_cmap_text()
557 pdsubf->FontType == ft_encrypted2) { in scan_cmap_text()
562 code = pdf_obtain_cidfont_widths_arrays(pdev, pdsubf, wmode, &w, &w0, &v); in scan_cmap_text()
565 code = pdf_obtain_parent_type0_font_resource(pdev, pdsubf, font_index, in scan_cmap_text()
605 if (!(pdsubf->used[cid >> 3] & (0x80 >> (cid & 7)))) { in scan_cmap_text()
616 pdsubf->used[cid >> 3] |= 0x80 >> (cid & 7); in scan_cmap_text()
647 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text()
650 … code = pdf_glyph_widths(pdsubf, wmode, glyph, (gs_font *)subfont, &widths, in scan_cmap_text()
678 … if ((code == 0 /* just copied */ || pdsubf->Widths[cid] == 0) && !notdef_subst) { in scan_cmap_text()
681 code = pdf_glyph_widths(pdsubf, wmode, glyph, (gs_font *)subfont, &widths, in scan_cmap_text()
692 if (cid > pdsubf->count) in scan_cmap_text()
705 code = pdf_glyph_widths(pdsubf, 0, glyph, (gs_font *)subfont, &widths, in scan_cmap_text()
711 if (pdsubf->u.cidfont.CIDToGIDMap != 0) { in scan_cmap_text()
722 pdsubf->u.cidfont.CIDToGIDMap[cid] = gid; in scan_cmap_text()
726 pdsubf->u.cidfont.used2[cid >> 3] |= 0x80 >> (cid & 7); in scan_cmap_text()
728 pdsubf->used[cid >> 3] |= 0x80 >> (cid & 7); in scan_cmap_text()
771 pdsubf = pdsubf0; in scan_cmap_text()
783 …Type == ft_user_defined || pdsubf0->FontType == ft_PDF_user_defined || pdsubf->FontType == ft_en… in scan_cmap_text()
784 pdsubf->FontType == ft_encrypted2) in scan_cmap_text()
900 pdsubf0 = pdsubf; in scan_cmap_text()
966 pdf_font_resource_t *pdsubf; /* CIDFont */ in process_cid_text() local
1017 code = pdf_obtain_font_resource(penum, NULL, &pdsubf); in process_cid_text()
1023 if (pdsubf->u.cidfont.glyphshow_font_id != 0) in process_cid_text()
1025 pdsubf->u.cidfont.glyphshow_font_id, &scaled_font->FontMatrix); in process_cid_text()
1031 pdsubf->u.cidfont.glyphshow_font_id = font0->id; in process_cid_text()