Skip to content

Commit 194f2ef

Browse files
committed
Remove AFMFont.open
1 parent f4edf3d commit 194f2ef

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/font/afm.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import fs from 'fs';
2-
31
const WIN_ANSI_MAP = {
42
402: 131,
53
8211: 150,
@@ -105,10 +103,6 @@ udieresis yacute thorn ydieresis\
105103
`.split(/\s+/);
106104

107105
class AFMFont {
108-
static open(filename) {
109-
return new AFMFont(fs.readFileSync(filename, 'utf8'));
110-
}
111-
112106
constructor(contents) {
113107
this.contents = contents;
114108
this.attributes = {};

0 commit comments

Comments
 (0)