Skip to content

Commit 0b2edc1

Browse files
committed
remove reference to old JS parseFont
1 parent a0c8031 commit 0b2edc1

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

browser.js

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
/* globals document, ImageData */
22

3-
const parseFont = require('./lib/parse-font')
4-
5-
exports.parseFont = parseFont
6-
73
exports.createCanvas = function (width, height) {
84
return Object.assign(document.createElement('canvas'), { width: width, height: height })
95
}

index.d.ts

-3
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,6 @@ export class ImageData {
489489
readonly width: number;
490490
}
491491

492-
// This is marked private, but is exported...
493-
// export function parseFont(description: string): object
494-
495492
// Not documented: backends
496493

497494
/** Library version. */

0 commit comments

Comments
 (0)