ErrLookup › parallax/jsPDF
parallax/jsPDF
Client-side JavaScript PDF generation for everyone. · JavaScript · 61 source files
Analyzed at a3930ce03a on 2026-08-13. 119 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Invalid Context passed to initialize PubSub (jsPDF-module) | exception | warning | internal, pubsub, events, invariant |
| Invalid arguments passed to PubSub.subscribe (jsPDF-module) | exception | error | pubsub, events, subscribe, validation |
| Invalid Combination of fontweight and fontstyle | exception | error | font, setfont, fontweight, fontstyle, validation |
| {methodName} is only available in 'advanced' API mode. You n | exception | error | apimode, advanced, patterns, transform, setfont |
| Invalid argument passed to jsPDF.roundToPrecision | exception | error | numeric, precision, nan, formatting, internal |
| Invalid argument passed to jsPDF.hpf | exception | error | numeric, hpf, nan, formatting, floatprecision |
| Invalid argument passed to jsPDF.f2 | exception | error | numeric, f2, nan, formatting, color, geometry |
| Invalid argument passed to jsPDF.f3 | exception | error | numeric, f3, nan, formatting, color, geometry |
| Invalid argument passed to jsPDF.scale | exception | error | numeric, scale, nan, units, geometry |
| Invalid argument passed to jsPDF.setCreationDate | exception | error | metadata, date, creationdate, validation, regex |
| zoom must be Integer (e.g. 2), a percentage Value (e.g. 300% | exception | error | viewer, zoom, config, validation |
| Page mode must be one of UseNone, UseOutlines, UseThumbs, or | exception | error | viewer, pagemode, config, validation |
| Layout mode must be one of continuous, single, twoleft, twor | exception | error | viewer, layoutmode, config, validation |
| Invalid argument passed to jsPDF.getDocumentProperty | exception | error | metadata, properties, validation |
| Invalid arguments passed to jsPDF.setDocumentProperty | exception | error | metadata, properties, validation |
| Invalid color "{ch1}" passed to jsPDF.encodeColorString. | exception | error | color, setfillcolor, settextcolor, setdrawcolor, validation |
| ObjectId must be passed to putStream for file encryption | exception | error | encryption, stream, putstream, objectid, internal |
| Error in function {function_name}: {message} | exception | error | output, wrapper, error-handling, reporting |
| Character at position {position} of string '{text}' exceeds | exception | error | encoding, ucs-2, text, unreachable, unicode |
| The option pdfobjectnewwindow just works in a browser-enviro | exception | error | environment, browser, output, node, ssr |
| The option pdfjsnewwindow just works in a browser-environmen | exception | error | environment, browser, output, node, pdfjs |
| The option dataurlnewwindow just works in a browser-environm | exception | error | environment, browser, output, node, ssr |
| Invalid unit: {unit} | exception | error | config, constructor, unit, validation |
| Invalid argument passed to jsPDF.getPageInfo | exception | error | validation, page, integer, api |
| Invalid argument passed to jsPDF.getPageInfoByObjId | exception | error | validation, page, integer, object-id, api |
| Invalid arguments passed to jsPDF.text | exception | error | validation, text, coordinates, api |
| Type of text must be string or Array. "{text}" is not recogn | exception | error | validation, text, type, array, api |
| Unrecognized alignment option, use "left", "center", "right" | exception | error | validation, text, alignment, options, api |
| Invalid arguments passed to jsPDF.line | exception | error | validation, shapes, line, style, api |
| Invalid arguments passed to jsPDF.lines | exception | error | validation, shapes, lines, style, array, api |
| Invalid arguments passed to jsPDF.rect | exception | error | validation, shapes, rect, style, api |
| Invalid arguments passed to jsPDF.triangle | exception | error | validation, shapes, triangle, style, api |
| Invalid arguments passed to jsPDF.roundedRect | exception | error | validation, shapes, rounded-rect, style, api |
| Invalid arguments passed to jsPDF.ellipse | exception | error | validation, shapes, ellipse, style, api |
| Invalid arguments passed to jsPDF.circle | exception | error | validation, shapes, circle, style, api |
| Invalid arguments passed to jsPDF.setLineDash | exception | error | validation, line-dash, array, api |
| Invalid argument passed to jsPDF.setCharSpace | exception | error | validation, char-space, text, api |
| Line cap style of '{style}' is not recognized. See or extend | exception | error | validation, line-cap, cap-join-styles, api |
| Line join style of '" + style + "' is not recognized. See or | exception | error | jspdf, validation, line-style, argument |
| Invalid argument passed to jsPDF.setLineMiterLimit | exception | error | jspdf, validation, numeric, argument |
| Invalid BMP File | exception | error | bmp, image, file-format, validation, magic-bytes |
| Image dimensions exceed 512MB, which is too large. | exception | error | bmp, image, memory, validation, dimensions |
| Failed to construct 'FileReader': Please use the 'new' opera | exception | error | blob, filereader, polyfill, constructor, new-operator |
| Failed to execute '" + kind + "' on 'FileReader': parameter | exception | error | blob, filereader, polyfill, type-check, argument |
| Width/Height invalid. | exception | error | gif, omggif, image, validation, dimensions |
| Invalid code/color length, must be power of 2 and 2 .. 256. | exception | error | gif, omggif, image, palette, validation |
| Background index out of range. | exception | error | gif, omggif, image, palette, validation, index |
| Background index explicitly passed as 0. | exception | warning | gif, omggif, image, palette, validation, index |
| Loop count invalid. | exception | error | gif, omggif, image, animation, validation |
| x/y invalid. | exception | error | gif, omggif, image, animation, validation, coordinates |
| Not enough pixels for the frame size. | exception | error | gif, omggif, image, animation, validation, buffer-size |
| Must supply either a local or global palette. | exception | error | gif, omggif, image, animation, palette, validation |
| Disposal out of range. | exception | error | gif, omggif, image, animation, validation, disposal |
| Transparent color index. | exception | error | gif, omggif, image, animation, palette, validation, index |
| Invalid GIF 87a/89a header. | exception | error | gif, omggif, image, file-format, validation, magic-bytes |
| Invalid graphics extension block. | exception | error | gif, omggif, image, file-format, corruption, parsing |
| Unknown graphic control label: 0x" + buf[p - 1].toString(16) | exception | error | gif, omggif, image, file-format, parsing, unsupported-extension |
| Unknown gif block: 0x" + buf[p - 1].toString(16) | exception | error | gif, parsing, validation, omggif |
| Frame index out of range. | exception | error | gif, bounds-check, omggif |
| Image dimensions exceed 512MB, which is too large. | exception | error | gif, memory, bounds-check, omggif |
| Invalid PDF Name Object: " + str + ", Only accept ASCII char | exception | error | pdf, unicode, validation, font, pdfname |
| Invalid permission: " + perm | exception | error | pdf, encryption, security, validation, bug |
| TTCF not supported. | exception | error | font, ttf, ttc, validation |
| No unicode cmap for font | exception | error | font, ttf, cmap, unicode, validation |
| Invalid arguments passed to jsPDF.API.__acroform__.setBit | exception | error | acroform, validation, bit-ops, internal |
| Invalid arguments passed to jsPDF.API.__acroform__.clearBit | exception | error | acroform, validation, bit-ops, internal |
| Invalid arguments passed to jsPDF.API.__acroform__.getBit | exception | error | acroform, validation, bit-ops, internal |
| Invalid arguments passed to jsPDF.API.__acroform__.getBitFor | exception | error | acroform, validation, bit-ops, internal |
| Invalid arguments passed to jsPDF.API.__acroform__.setBitFor | exception | error | acroform, validation, bit-ops, internal |
| Invalid arguments passed to jsPDF.API.__acroform__.clearBitF | exception | error | acroform, validation, bit-ops, internal |
| putCatalogCallback: Root missing. | exception | error | acroform, internal, pdf-output, state |
| Exception while creating AcroformDictionary | exception | error | acroform, internal, state, initialization |
| Invalid argument passed to jsPDF.__acroform__.arrayToPdfArra | validation | error | acroform, validation, serialization |
| Invalid value "{value}" for attribute F supplied. | validation | error | acroform, field-validation, bit-flags |
| Invalid value "{value}" for attribute Ff supplied. | validation | error | acroform, field-validation, bit-flags |
| Invalid value "{value}" for attribute FT supplied. | validation | error | acroform, field-validation, pdf-types |
| Invalid value "{value}" for attribute Q supplied. | validation | error | acroform, validation, pdf-spec, field-properties |
| Couldn't assign Appearance to RadioButton. Appearance was In | validation | error | acroform, radio-button, appearance, duck-typing |
| Invalid argument passed to jsPDF.addField. | validation | error | acroform, instanceof, field-registration, type-check |
| Given canvas must have data. Canvas width: {element.width}, | validation | error | addimage, canvas, dom-element, async-rendering |
| Invalid coordinates passed to jsPDF.addImage | validation | error | addimage, coordinates, nan, validation |
| addImage does not support files of type '{format}', please e | validation | error | addimage, image-format, plugin, unsupported-format |
| An unknown error occurred whilst processing the image. | exception | error | addimage, corrupt-data, image-processing, catch-all |
| Supplied Data is not a valid base64-String jsPDF.convertBase | validation | error | addimage, base64, encoding, validation |
| atob-Error in jsPDF.convertBase64ToBinaryString {e.message} | exception | error | addimage, base64, atob, encoding-edge-case |
| An unknown error occurred whilst processing the image | exception | error | addimage, corrupt-data, image-properties, catch-all |
| toDataURL is not implemented. | exception | error | canvas, not-implemented, api-mismatch, stub |
| getTextDimensions expects text-parameter to be of type Strin | validation | error | cell, text, type-check, validation |
| No data for PDF table. | validation | error | cell, table, validation, null-check |
| Property tableHeaderRow does not exist. | validation | error | cell, table, header-row, state-check |
| Invalid arguments passed to jsPDF.context2d.moveTo | validation | error | context2d, path, nan, coordinates, validation |
| Invalid arguments passed to jsPDF.context2d.lineTo | validation | error | context2d, path, nan, coordinates, validation |
| Invalid arguments passed to jsPDF.context2d.quadraticCurveTo | validation | error | context2d, path, bezier, nan, coordinates, validation |
| Invalid arguments passed to jsPDF.context2d.bezierCurveTo | validation | error | context2d, path, bezier, nan, coordinates, validation |
| Invalid arguments passed to jsPDF.context2d.arc | validation | error | context2d, path, arc, nan, coordinates, validation |
| arcTo not implemented. | exception | error | canvas2d, context2d, unimplemented, stub, pdf |
| Invalid arguments passed to jsPDF.context2d.rect | validation | error | canvas2d, context2d, validation, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.fillRect | validation | error | canvas2d, context2d, validation, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.strokeRect | validation | error | canvas2d, context2d, validation, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.clearRect | validation | error | canvas2d, context2d, validation, nan, pdf |
| toDataUrl not implemented. | exception | error | canvas2d, context2d, unimplemented, stub, pdf, export |
| Invalid arguments passed to jsPDF.context2d.fillText | validation | error | canvas2d, context2d, validation, text, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.strokeText | validation | error | canvas2d, context2d, validation, text, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.measureText | validation | error | canvas2d, context2d, validation, text, pdf |
| Invalid arguments passed to jsPDF.context2d.scale | validation | error | canvas2d, context2d, validation, transform, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.rotate | validation | error | canvas2d, context2d, validation, transform, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.translate | validation | error | canvas2d, context2d, validation, transform, nan, pdf |
| Invalid arguments passed to jsPDF.context2d.transform | validation | error | canvas2d, context2d, validation, transform, matrix, nan, pdf |
| Trying to read a file from local file system. To enable this | exception | error | node, security, fileloading, permissions, filesystem, config |
| Cannot read file '${url}'. Permission denied. | exception | error | node, security, permissions, filesystem, fileloading, config |
| The filter: "${filterChain[i]}" is not implemented | exception | error | filters, pdf, validation, unsupported, encode |
| Invalid format: ${format} | exception | error | pdf, page-format, html, validation, config |
| Don't know what to do with value type ${typeof value}. | exception | error | font-metrics, internal, validation, type, pdf |
| Invalid argument passed to uncompress. | exception | error | font-metrics, internal, validation, type, pdf |
| Invalid coordinates passed to jsPDF.addSvgAsImage | exception | error | svg, validation, coordinates, jspdf, numeric |
| Invalid measurements (width and/or height) passed to jsPDF.a | exception | error | svg, validation, dimensions, jspdf, numeric |
| Font is not stored as string-data in vFS, import fonts or re | exception | error | fonts, vfs, ttf, jspdf, base64, configuration |
| Font does not exist in vFS, import fonts or remove declarati | exception | error | fonts, vfs, jspdf, instance, configuration |
| Unable to load file ${url} | exception | error | network, xhr, builder, file-loading, http, configuration |