Skip to content

Commit

Permalink
fix: add rel to fontTable (#2800)
Browse files Browse the repository at this point in the history
* fix: add rel to fontTable

* Fix prettier

---------

Co-authored-by: Dolan <dolan_miu@hotmail.com>
  • Loading branch information
YousefED and dolanmiu authored Nov 20, 2024
1 parent dece0f5 commit 05a3cf5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/export/packer/next-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ export class Compiler {
);
});

file.Document.Relationships.createRelationship(
file.Document.Relationships.RelationshipCount + 1,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",
"fontTable.xml",
);

return xml(
this.formatter.format(file.Document.Relationships, {
viewWrapper: file.Document,
Expand Down

0 comments on commit 05a3cf5

Please sign in to comment.