ref: c1d1442713a74a60c81bcaab17377916ef5161e2
parent: a4e4ee0b82181133176b158319937922ddbe5f86
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed Mar 28 07:22:29 EDT 2018
pdf: include other required fields of font descriptors
--- a/pdf.c
+++ b/pdf.c
@@ -129,9 +129,10 @@
pdfout(" /Type /FontDescriptor\n");
pdfout(" /FontName /%s\n", font_ps[f]);
pdfout(" /Flags 4\n");
- pdfout(" /MissingWidth 255\n");
+ pdfout(" /FontBBox [-1000 -1000 1000 1000]\n");
+ pdfout(" /MissingWidth 1000\n");
pdfout(" /StemV 100\n");
- pdfout(" /StemH 100\n");
+ pdfout(" /ItalicAngle 0\n");
pdfout(" /CapHeight 100\n");
pdfout(" /Ascent 100\n");
pdfout(" /Descent 100\n");