mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Remove AFMFont.open
This commit is contained in:
parent
f4edf3d405
commit
194f2eff65
@ -1,5 +1,3 @@
|
||||
import fs from 'fs';
|
||||
|
||||
const WIN_ANSI_MAP = {
|
||||
402: 131,
|
||||
8211: 150,
|
||||
@ -105,10 +103,6 @@ udieresis yacute thorn ydieresis\
|
||||
`.split(/\s+/);
|
||||
|
||||
class AFMFont {
|
||||
static open(filename) {
|
||||
return new AFMFont(fs.readFileSync(filename, 'utf8'));
|
||||
}
|
||||
|
||||
constructor(contents) {
|
||||
this.contents = contents;
|
||||
this.attributes = {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user