Forgot to add pdf.js to the last commit
This commit is contained in:
parent
1c78d8fdb4
commit
9b67a1e6b5
1
fonts.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
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…
Reference in New Issue
Block a user