/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | gdevpdtc.c | 389 pdf_font_resource_t *pdsubf; in scan_cmap_text() local 487 pdsubf0 = pdsubf; in scan_cmap_text() 492 pfd = pdsubf->FontDescriptor; in scan_cmap_text() 505 if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_encrypted || in scan_cmap_text() 558 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text() 580 if (cid > pdsubf->count) in scan_cmap_text() 652 pdsubf = pdsubf0; 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 [all …]
|
H A D | gdevpdtf.c | 820 pdf_font_resource_t *pdsubf = pdfont; in pdf_compute_BaseFont() local 828 pdsubf = pdfont->u.type0.DescendantFont; in pdf_compute_BaseFont() 829 code = pdf_compute_BaseFont(pdev, pdsubf, finish); in pdf_compute_BaseFont() 832 fname = pdsubf->BaseFont; in pdf_compute_BaseFont() 833 if (pdsubf->FontType == ft_CID_encrypted || pdsubf->FontType == ft_CID_TrueType) in pdf_compute_BaseFont() 840 fname = *pdf_font_descriptor_base_name(pdsubf->FontDescriptor); in pdf_compute_BaseFont() 902 if (pdfont->FontType != ft_composite && pdsubf->FontDescriptor) in pdf_compute_BaseFont() 903 *pdf_font_descriptor_name(pdsubf->FontDescriptor) = fname; in pdf_compute_BaseFont()
|
H A D | gdevpdtt.c | 1190 pdf_find_type0_font_resource(gx_device_pdf *pdev, const pdf_font_resource_t *pdsubf, in pdf_find_type0_font_resource() argument 1203 if (pdfont->u.type0.DescendantFont != pdsubf) in pdf_find_type0_font_resource() 1207 if (pdfont->BaseFont.size != pdsubf->BaseFont.size + CMapName->size + 1) in pdf_find_type0_font_resource() 1209 if (memcmp(pdfont->BaseFont.data + pdsubf->BaseFont.size + 1, in pdf_find_type0_font_resource() 2166 if (pdsubf->u.cidfont.parent != 0 && in pdf_obtain_parent_type0_font_resource() 2167 font_index == pdsubf->u.cidfont.parent->u.type0.font_index && in pdf_obtain_parent_type0_font_resource() 2168 strings_equal(CMapName, &pdsubf->u.cidfont.parent->u.type0.CMapName)) in pdf_obtain_parent_type0_font_resource() 2169 *pdfont = pdsubf->u.cidfont.parent; in pdf_obtain_parent_type0_font_resource() 2181 if (pdsubf->u.cidfont.parent == NULL || in pdf_obtain_parent_type0_font_resource() 2183 int code = pdf_font_type0_alloc(pdev, pdfont, gs_no_id, pdsubf, CMapName); in pdf_obtain_parent_type0_font_resource() [all …]
|
H A D | gdevpdtt.h | 196 int pdf_obtain_parent_type0_font_resource(gx_device_pdf *pdev, pdf_font_resource_t *pdsubf,
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gdevpdtc.c | 389 pdf_font_resource_t *pdsubf; in scan_cmap_text() local 487 pdsubf0 = pdsubf; in scan_cmap_text() 492 pfd = pdsubf->FontDescriptor; in scan_cmap_text() 505 if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_encrypted || in scan_cmap_text() 558 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text() 580 if (cid > pdsubf->count) in scan_cmap_text() 652 pdsubf = pdsubf0; 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 [all …]
|
H A D | gdevpdtf.c | 820 pdf_font_resource_t *pdsubf = pdfont; in pdf_compute_BaseFont() local 828 pdsubf = pdfont->u.type0.DescendantFont; in pdf_compute_BaseFont() 829 code = pdf_compute_BaseFont(pdev, pdsubf, finish); in pdf_compute_BaseFont() 832 fname = pdsubf->BaseFont; in pdf_compute_BaseFont() 833 if (pdsubf->FontType == ft_CID_encrypted || pdsubf->FontType == ft_CID_TrueType) in pdf_compute_BaseFont() 840 fname = *pdf_font_descriptor_base_name(pdsubf->FontDescriptor); in pdf_compute_BaseFont() 902 if (pdfont->FontType != ft_composite && pdsubf->FontDescriptor) in pdf_compute_BaseFont() 903 *pdf_font_descriptor_name(pdsubf->FontDescriptor) = fname; in pdf_compute_BaseFont()
|
H A D | gdevpdtt.c | 1190 pdf_find_type0_font_resource(gx_device_pdf *pdev, const pdf_font_resource_t *pdsubf, in pdf_find_type0_font_resource() argument 1203 if (pdfont->u.type0.DescendantFont != pdsubf) in pdf_find_type0_font_resource() 1207 if (pdfont->BaseFont.size != pdsubf->BaseFont.size + CMapName->size + 1) in pdf_find_type0_font_resource() 1209 if (memcmp(pdfont->BaseFont.data + pdsubf->BaseFont.size + 1, in pdf_find_type0_font_resource() 2166 if (pdsubf->u.cidfont.parent != 0 && in pdf_obtain_parent_type0_font_resource() 2167 font_index == pdsubf->u.cidfont.parent->u.type0.font_index && in pdf_obtain_parent_type0_font_resource() 2168 strings_equal(CMapName, &pdsubf->u.cidfont.parent->u.type0.CMapName)) in pdf_obtain_parent_type0_font_resource() 2169 *pdfont = pdsubf->u.cidfont.parent; in pdf_obtain_parent_type0_font_resource() 2181 if (pdsubf->u.cidfont.parent == NULL || in pdf_obtain_parent_type0_font_resource() 2183 int code = pdf_font_type0_alloc(pdev, pdfont, gs_no_id, pdsubf, CMapName); in pdf_obtain_parent_type0_font_resource() [all …]
|
H A D | gdevpdtt.h | 196 int pdf_obtain_parent_type0_font_resource(gx_device_pdf *pdev, pdf_font_resource_t *pdsubf,
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gdevpdtc.c | 373 pdf_font_resource_t *pdsubf; in scan_cmap_text() local 471 pdsubf0 = pdsubf; in scan_cmap_text() 476 pfd = pdsubf->FontDescriptor; in scan_cmap_text() 489 if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_encrypted || in scan_cmap_text() 490 pdsubf->FontType == ft_encrypted2) { in scan_cmap_text() 540 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text() 562 if (cid > pdsubf->count) in scan_cmap_text() 584 pdsubf->u.cidfont.CIDToGIDMap[cid] = in scan_cmap_text() 634 pdsubf = pdsubf0; in scan_cmap_text() 647 pdsubf->FontType == ft_encrypted2) in scan_cmap_text() [all …]
|
H A D | gdevpdtf.c | 734 pdf_font_resource_t *pdsubf = pdfont; in pdf_compute_BaseFont() local 742 pdsubf = pdfont->u.type0.DescendantFont; in pdf_compute_BaseFont() 743 code = pdf_compute_BaseFont(pdev, pdsubf, finish); in pdf_compute_BaseFont() 746 fname = pdsubf->BaseFont; in pdf_compute_BaseFont() 747 if (pdsubf->FontType == ft_CID_encrypted || pdsubf->FontType == ft_CID_TrueType) in pdf_compute_BaseFont() 754 fname = *pdf_font_descriptor_base_name(pdsubf->FontDescriptor); in pdf_compute_BaseFont() 814 if (pdfont->FontType != ft_composite && pdsubf->FontDescriptor) in pdf_compute_BaseFont() 815 *pdf_font_descriptor_name(pdsubf->FontDescriptor) = fname; in pdf_compute_BaseFont()
|
H A D | gdevpdtt.c | 964 if (pdfont->u.type0.DescendantFont != pdsubf) in pdf_find_type0_font_resource() 968 if (pdfont->BaseFont.size != pdsubf->BaseFont.size + CMapName->size + 1) in pdf_find_type0_font_resource() 970 if (memcmp(pdfont->BaseFont.data + pdsubf->BaseFont.size + 1, in pdf_find_type0_font_resource() 1882 if (pdsubf->u.cidfont.parent != 0 && in pdf_obtain_parent_type0_font_resource() 1883 font_index == pdsubf->u.cidfont.parent->u.type0.font_index && in pdf_obtain_parent_type0_font_resource() 1884 strings_equal(CMapName, &pdsubf->u.cidfont.parent->u.type0.CMapName)) in pdf_obtain_parent_type0_font_resource() 1885 *pdfont = pdsubf->u.cidfont.parent; in pdf_obtain_parent_type0_font_resource() 1897 if (pdsubf->u.cidfont.parent == NULL || in pdf_obtain_parent_type0_font_resource() 1898 pdf_find_type0_font_resource(pdev, pdsubf, CMapName, font_index, pdfont) <= 0) { in pdf_obtain_parent_type0_font_resource() 1899 int code = pdf_font_type0_alloc(pdev, pdfont, gs_no_id, pdsubf, CMapName); in pdf_obtain_parent_type0_font_resource() [all …]
|
H A D | gdevpdtt.h | 194 int pdf_obtain_parent_type0_font_resource(gx_device_pdf *pdev, pdf_font_resource_t *pdsubf,
|
H A D | gdevpdte.c | 880 pdf_font_resource_t *pdsubf = ppts->values.pdfont->u.type0.DescendantFont; in process_text_modify_width() local 882 FontType = pdsubf->FontType; in process_text_modify_width() 883 code = pdf_glyph_widths(pdsubf, font->WMode, glyph, subfont, &cw, in process_text_modify_width()
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gdevpdtc.c | 373 pdf_font_resource_t *pdsubf; in scan_cmap_text() local 471 pdsubf0 = pdsubf; in scan_cmap_text() 476 pfd = pdsubf->FontDescriptor; in scan_cmap_text() 489 if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_encrypted || in scan_cmap_text() 490 pdsubf->FontType == ft_encrypted2) { in scan_cmap_text() 540 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text() 562 if (cid > pdsubf->count) in scan_cmap_text() 584 pdsubf->u.cidfont.CIDToGIDMap[cid] = in scan_cmap_text() 634 pdsubf = pdsubf0; in scan_cmap_text() 647 pdsubf->FontType == ft_encrypted2) in scan_cmap_text() [all …]
|
H A D | gdevpdtf.c | 734 pdf_font_resource_t *pdsubf = pdfont; in pdf_compute_BaseFont() local 742 pdsubf = pdfont->u.type0.DescendantFont; in pdf_compute_BaseFont() 743 code = pdf_compute_BaseFont(pdev, pdsubf, finish); in pdf_compute_BaseFont() 746 fname = pdsubf->BaseFont; in pdf_compute_BaseFont() 747 if (pdsubf->FontType == ft_CID_encrypted || pdsubf->FontType == ft_CID_TrueType) in pdf_compute_BaseFont() 754 fname = *pdf_font_descriptor_base_name(pdsubf->FontDescriptor); in pdf_compute_BaseFont() 814 if (pdfont->FontType != ft_composite && pdsubf->FontDescriptor) in pdf_compute_BaseFont() 815 *pdf_font_descriptor_name(pdsubf->FontDescriptor) = fname; in pdf_compute_BaseFont()
|
H A D | gdevpdtt.c | 964 if (pdfont->u.type0.DescendantFont != pdsubf) in pdf_find_type0_font_resource() 968 if (pdfont->BaseFont.size != pdsubf->BaseFont.size + CMapName->size + 1) in pdf_find_type0_font_resource() 970 if (memcmp(pdfont->BaseFont.data + pdsubf->BaseFont.size + 1, in pdf_find_type0_font_resource() 1882 if (pdsubf->u.cidfont.parent != 0 && in pdf_obtain_parent_type0_font_resource() 1883 font_index == pdsubf->u.cidfont.parent->u.type0.font_index && in pdf_obtain_parent_type0_font_resource() 1884 strings_equal(CMapName, &pdsubf->u.cidfont.parent->u.type0.CMapName)) in pdf_obtain_parent_type0_font_resource() 1885 *pdfont = pdsubf->u.cidfont.parent; in pdf_obtain_parent_type0_font_resource() 1897 if (pdsubf->u.cidfont.parent == NULL || in pdf_obtain_parent_type0_font_resource() 1898 pdf_find_type0_font_resource(pdev, pdsubf, CMapName, font_index, pdfont) <= 0) { in pdf_obtain_parent_type0_font_resource() 1899 int code = pdf_font_type0_alloc(pdev, pdfont, gs_no_id, pdsubf, CMapName); in pdf_obtain_parent_type0_font_resource() [all …]
|
H A D | gdevpdtt.h | 194 int pdf_obtain_parent_type0_font_resource(gx_device_pdf *pdev, pdf_font_resource_t *pdsubf,
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/vector/ |
H A D | gdevpdtc.c | 431 pdf_font_resource_t *pdsubf; in scan_cmap_text() local 538 pdsubf0 = pdsubf; in scan_cmap_text() 543 pfd = pdsubf->FontDescriptor; in scan_cmap_text() 556 …if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_PDF_user_defined || pdsubf->Fo… in scan_cmap_text() 647 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text() 692 if (cid > pdsubf->count) in scan_cmap_text() 771 pdsubf = pdsubf0; 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 [all …]
|
H A D | gdevpdtf.c | 872 pdf_font_resource_t *pdsubf = pdfont; in pdf_compute_BaseFont() local 880 pdsubf = pdfont->u.type0.DescendantFont; in pdf_compute_BaseFont() 881 code = pdf_compute_BaseFont(pdev, pdsubf, finish); in pdf_compute_BaseFont() 884 fname = pdsubf->BaseFont; in pdf_compute_BaseFont() 890 fname = *pdf_font_descriptor_base_name(pdsubf->FontDescriptor); in pdf_compute_BaseFont() 955 if (pdfont->FontType != ft_composite && pdsubf->FontDescriptor) in pdf_compute_BaseFont() 956 *pdf_font_descriptor_name(pdsubf->FontDescriptor) = fname; in pdf_compute_BaseFont()
|
H A D | gdevpdtt.c | 1214 pdf_find_type0_font_resource(gx_device_pdf *pdev, const pdf_font_resource_t *pdsubf, in pdf_find_type0_font_resource() argument 1227 if (pdfont->u.type0.DescendantFont != pdsubf) in pdf_find_type0_font_resource() 1236 if (pdfont->BaseFont.size == pdsubf->BaseFont.size + CMapName->size + 1) { in pdf_find_type0_font_resource() 1237 if (memcmp(pdfont->BaseFont.data + pdsubf->BaseFont.size + 1, in pdf_find_type0_font_resource() 1245 if (pdfont->BaseFont.size != pdsubf->BaseFont.size) in pdf_find_type0_font_resource() 2254 if (pdsubf->u.cidfont.parent != 0 && in pdf_obtain_parent_type0_font_resource() 2255 font_index == pdsubf->u.cidfont.parent->u.type0.font_index && in pdf_obtain_parent_type0_font_resource() 2256 strings_equal(CMapName, &pdsubf->u.cidfont.parent->u.type0.CMapName)) in pdf_obtain_parent_type0_font_resource() 2257 *pdfont = pdsubf->u.cidfont.parent; in pdf_obtain_parent_type0_font_resource() 2269 if (pdsubf->u.cidfont.parent == NULL || in pdf_obtain_parent_type0_font_resource() [all …]
|
H A D | gdevpdtt.h | 190 int pdf_obtain_parent_type0_font_resource(gx_device_pdf *pdev, pdf_font_resource_t *pdsubf,
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/vector/ |
H A D | gdevpdtc.c | 431 pdf_font_resource_t *pdsubf; in scan_cmap_text() local 538 pdsubf0 = pdsubf; in scan_cmap_text() 543 pfd = pdsubf->FontDescriptor; in scan_cmap_text() 556 …if (pdsubf->FontType == ft_user_defined || pdsubf->FontType == ft_PDF_user_defined || pdsubf->Fo… in scan_cmap_text() 647 if (pdsubf->Widths[cid] == 0) { in scan_cmap_text() 692 if (cid > pdsubf->count) in scan_cmap_text() 771 pdsubf = pdsubf0; 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 [all …]
|
H A D | gdevpdtf.c | 872 pdf_font_resource_t *pdsubf = pdfont; in pdf_compute_BaseFont() local 880 pdsubf = pdfont->u.type0.DescendantFont; in pdf_compute_BaseFont() 881 code = pdf_compute_BaseFont(pdev, pdsubf, finish); in pdf_compute_BaseFont() 884 fname = pdsubf->BaseFont; in pdf_compute_BaseFont() 890 fname = *pdf_font_descriptor_base_name(pdsubf->FontDescriptor); in pdf_compute_BaseFont() 955 if (pdfont->FontType != ft_composite && pdsubf->FontDescriptor) in pdf_compute_BaseFont() 956 *pdf_font_descriptor_name(pdsubf->FontDescriptor) = fname; in pdf_compute_BaseFont()
|
H A D | gdevpdtt.c | 1214 pdf_find_type0_font_resource(gx_device_pdf *pdev, const pdf_font_resource_t *pdsubf, in pdf_find_type0_font_resource() argument 1227 if (pdfont->u.type0.DescendantFont != pdsubf) in pdf_find_type0_font_resource() 1236 if (pdfont->BaseFont.size == pdsubf->BaseFont.size + CMapName->size + 1) { in pdf_find_type0_font_resource() 1237 if (memcmp(pdfont->BaseFont.data + pdsubf->BaseFont.size + 1, in pdf_find_type0_font_resource() 1245 if (pdfont->BaseFont.size != pdsubf->BaseFont.size) in pdf_find_type0_font_resource() 2254 if (pdsubf->u.cidfont.parent != 0 && in pdf_obtain_parent_type0_font_resource() 2255 font_index == pdsubf->u.cidfont.parent->u.type0.font_index && in pdf_obtain_parent_type0_font_resource() 2256 strings_equal(CMapName, &pdsubf->u.cidfont.parent->u.type0.CMapName)) in pdf_obtain_parent_type0_font_resource() 2257 *pdfont = pdsubf->u.cidfont.parent; in pdf_obtain_parent_type0_font_resource() 2269 if (pdsubf->u.cidfont.parent == NULL || in pdf_obtain_parent_type0_font_resource() [all …]
|
H A D | gdevpdtt.h | 190 int pdf_obtain_parent_type0_font_resource(gx_device_pdf *pdev, pdf_font_resource_t *pdsubf,
|