Skip to content

Commit

Permalink
remove reference to old JS parseFont
Browse files Browse the repository at this point in the history
  • Loading branch information
chearon committed Jan 12, 2025
1 parent a0c8031 commit 0b2edc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions browser.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* globals document, ImageData */

const parseFont = require('./lib/parse-font')

exports.parseFont = parseFont

exports.createCanvas = function (width, height) {
return Object.assign(document.createElement('canvas'), { width: width, height: height })
}
Expand Down
3 changes: 0 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,6 @@ export class ImageData {
readonly width: number;
}

// This is marked private, but is exported...
// export function parseFont(description: string): object

// Not documented: backends

/** Library version. */
Expand Down

0 comments on commit 0b2edc1

Please sign in to comment.