Skip to content

Commit

Permalink
Merge pull request #47 from drinking-code/master
Browse files Browse the repository at this point in the history
Add ttf, otf, eot types
  • Loading branch information
LarsKoelpin authored Dec 3, 2023
2 parents cb78f4d + 41206c3 commit b349014
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/model/pattern-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,18 @@ add(
0x4
);

add("ttf", ["0x00", "0x01", "0x00", "0x00", "0x00"], {
mime: "font/ttf",
extension: "ttf",
});
add("otf", ["0x4F", "0x54", "0x54", "0x4F"], {
mime: "font/otf",
extension: "otf",
});
add("eot", ["0x50", "0x4C"], {
mime: "application/vnd.ms-fontobject",
extension: "eot",
});
add("woff", ["0x77", "0x4F", "0x46", "0x46"], {
mime: "font/woff",
extension: "woff",
Expand Down

0 comments on commit b349014

Please sign in to comment.