mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Forgot to add pdf.js to the last commit
This commit is contained in:
parent
1c78d8fdb4
commit
9b67a1e6b5
2 changed files with 2 additions and 2 deletions
1
fonts.js
1
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":
|
||||
|
|
3
pdf.js
3
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue