mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +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
|
// 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…
Add table
Add a link
Reference in a new issue