diff --git a/lib/pdfcanvas.js b/lib/pdfcanvas.js index 930dd4f2..0ce619a0 100644 --- a/lib/pdfcanvas.js +++ b/lib/pdfcanvas.js @@ -271,7 +271,7 @@ export default class CanvasRenderingContext2D_ { } measureText(text) { - nodeUtil.warn("to be implemented: contextPrototype.measureText - ", text); + nodeUtil.p2jwarn("to be implemented: contextPrototype.measureText - ", text); const chars = text.length || 1; return { width: chars * (this.currentFont.spaceWidth || 5) }; } @@ -286,7 +286,7 @@ export default class CanvasRenderingContext2D_ { } clearRect() { - nodeUtil.warn("to be implemented: contextPrototype.clearRect"); + nodeUtil.p2jwarn("to be implemented: contextPrototype.clearRect"); } beginPath() {