From 9b67a1e6b539eaee3600bfdb788f1c7edf4cdcc9 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Thu, 30 Jun 2011 11:50:47 +0200 Subject: [PATCH] Forgot to add pdf.js to the last commit --- fonts.js | 1 - pdf.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fonts.js b/fonts.js index 91fdfd3e5..df1795177 100644 --- a/fonts.js +++ b/fonts.js @@ -299,7 +299,6 @@ var Font = (function () { // Wrap the CFF data inside an OTF font file data = this.convert(name, cff, properties); - writeToFile(data, "/tmp/file." + fontName + "-" + fontCount + ".otf"); break; case "TrueType": diff --git a/pdf.js b/pdf.js index e1c48b4d9..8e0ab552a 100644 --- a/pdf.js +++ b/pdf.js @@ -3543,7 +3543,8 @@ var CanvasGraphics = (function() { xHeight: descriptor.get("XHeight"), capHeight: descriptor.get("CapHeight"), flags: descriptor.get("Flags"), - italicAngle: descriptor.get("ItalicAngle") + italicAngle: descriptor.get("ItalicAngle"), + fixedPitch: false }; return {