diff options
Diffstat (limited to 'gs/base/gdevpdtf.c')
-rw-r--r-- | gs/base/gdevpdtf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gs/base/gdevpdtf.c b/gs/base/gdevpdtf.c index 6f6bd3f52..0d2be2bc4 100644 --- a/gs/base/gdevpdtf.c +++ b/gs/base/gdevpdtf.c @@ -704,7 +704,7 @@ pdf_font_embed_status(gx_device_pdf *pdev, gs_font *font, int *pindex, */ if (pindex) *pindex = index; - if (pdev->PDFX || pdev->PDFA) + if (pdev->PDFX || pdev->PDFA != 0) return FONT_EMBED_YES; if (pdev->CompatibilityLevel < 1.3) { if (index >= 0 && @@ -1028,7 +1028,7 @@ pdf_obtain_cidfont_widths_arrays(gx_device_pdf *pdev, pdf_font_resource_t *pdfon int pdf_convert_truetype_font(gx_device_pdf *pdev, pdf_resource_t *pres) { - if (!pdev->PDFA) + if (pdev->PDFA == 0) return 0; else { pdf_font_resource_t *pdfont = (pdf_font_resource_t *)pres; |