summaryrefslogtreecommitdiff
path: root/bk_pdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bk_pdf.c')
-rw-r--r--bk_pdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bk_pdf.c b/bk_pdf.c
index 5edf592..034cff1 100644
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -148,7 +148,7 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
objtext(font, "<<\n/Type /Font\n/Subtype /Type1\n/Name /");
objtext(font, fe->name);
objtext(font, "\n/BaseFont /");
- objtext(font, fe->font->name);
+ objtext(font, fe->font->info->name);
objtext(font, "\n/Encoding <<\n/Type /Encoding\n/Differences [");
for (i = 0; i < 256; i++) {
@@ -183,7 +183,7 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
if (fe->indices[i] < 0)
width = 0.0;
else
- width = fe->font->widths[fe->indices[i]];
+ width = fe->font->info->widths[fe->indices[i]];
sprintf(buf, "%g\n", 1000.0 * width / FUNITS_PER_PT);
objtext(widths, buf);
}