From fdacb575c5601a205cdfc0c2d050ab57a536e0ef Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Sun, 12 Jun 2011 01:56:21 +0200 Subject: [PATCH] Default the unit per EM size to 1000 --- PDFFont.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PDFFont.js b/PDFFont.js index ed8df6e3b..f96e3f04d 100644 --- a/PDFFont.js +++ b/PDFFont.js @@ -1220,7 +1220,7 @@ Type1Font.prototype = { 0x00, 0x00, 0x00, 0x00, // checksumAdjustement 0x5F, 0x0F, 0x3C, 0xF5, // magicNumber 0x00, 0x00, // Flags - 0x00, 0x40, // unitsPerEM (>= 16 && <=16384) + 0x03, 0xE8, // unitsPerEM (>= 16 && <=16384) 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // created 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // modified 0x00, 0x00, // xMin