From: Vivien Nicolas <21@vingtetun.org> Date: Sat, 11 Jun 2011 23:56:21 +0000 (+0200) Subject: Default the unit per EM size to 1000 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=fdacb575c5601a205cdfc0c2d050ab57a536e0ef;p=pdf.js.git Default the unit per EM size to 1000 --- diff --git a/PDFFont.js b/PDFFont.js index ed8df6e..f96e3f0 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