summaryrefslogtreecommitdiff
path: root/gs/src/gdevpdtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/src/gdevpdtd.c')
-rw-r--r--gs/src/gdevpdtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/src/gdevpdtd.c b/gs/src/gdevpdtd.c
index 28a1aa080..e5ca724a3 100644
--- a/gs/src/gdevpdtd.c
+++ b/gs/src/gdevpdtd.c
@@ -216,7 +216,7 @@ pdf_font_descriptor_alloc(gx_device_pdf *pdev, pdf_font_descriptor_t **ppfd,
{
pdf_font_descriptor_t *pfd;
pdf_base_font_t *pbfont;
- int code = pdf_base_font_alloc(pdev, &pbfont, font, false);
+ int code = pdf_base_font_alloc(pdev, &pbfont, font, false, !embed);
if (code < 0)
return code;