(url)
| 2428 | // Syncronously load the font from a URL or file. |
| 2429 | // When done, return the font object or throw an error. |
| 2430 | function loadSync(url) { |
| 2431 | var fs = _dereq_('fs'); |
| 2432 | var buffer = fs.readFileSync(url); |
| 2433 | return parseBuffer(toArrayBuffer(buffer)); |
| 2434 | } |
| 2435 | |
| 2436 | exports._parse = parse; |
| 2437 | exports.Font = _font.Font; |
nothing calls this directly
no test coverage detected