Skip to content

Commit 05a3cf5

Browse files
YousefEDdolanmiu
andauthored
fix: add rel to fontTable (#2800)
* fix: add rel to fontTable * Fix prettier --------- Co-authored-by: Dolan <[email protected]>
1 parent dece0f5 commit 05a3cf5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/export/packer/next-compiler.ts

+6
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ export class Compiler {
109109
);
110110
});
111111

112+
file.Document.Relationships.createRelationship(
113+
file.Document.Relationships.RelationshipCount + 1,
114+
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",
115+
"fontTable.xml",
116+
);
117+
112118
return xml(
113119
this.formatter.format(file.Document.Relationships, {
114120
viewWrapper: file.Document,

0 commit comments

Comments
 (0)