Browse Source

Forgot to add pdf.js to the last commit

Vivien Nicolas 14 years ago
parent
commit
9b67a1e6b5
  1. 1
      fonts.js
  2. 3
      pdf.js

1
fonts.js

@ -299,7 +299,6 @@ var Font = (function () {
// Wrap the CFF data inside an OTF font file // Wrap the CFF data inside an OTF font file
data = this.convert(name, cff, properties); data = this.convert(name, cff, properties);
writeToFile(data, "/tmp/file." + fontName + "-" + fontCount + ".otf");
break; break;
case "TrueType": case "TrueType":

3
pdf.js

@ -3543,7 +3543,8 @@ var CanvasGraphics = (function() {
xHeight: descriptor.get("XHeight"), xHeight: descriptor.get("XHeight"),
capHeight: descriptor.get("CapHeight"), capHeight: descriptor.get("CapHeight"),
flags: descriptor.get("Flags"), flags: descriptor.get("Flags"),
italicAngle: descriptor.get("ItalicAngle") italicAngle: descriptor.get("ItalicAngle"),
fixedPitch: false
}; };
return { return {

Loading…
Cancel
Save