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 () { @@ -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":

3
pdf.js

@ -3543,7 +3543,8 @@ var CanvasGraphics = (function() { @@ -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 {

Loading…
Cancel
Save