From 28c2308c9cd9ca699e1f61349c13ee8b2a3d8280 Mon Sep 17 00:00:00 2001 From: Alhadis Date: Fri, 24 May 2019 12:57:40 +1000 Subject: [PATCH] Avoid mangling output with debugging comments --- lib/postproc/phototypesetter.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/postproc/phototypesetter.mjs b/lib/postproc/phototypesetter.mjs index aef9f2e..3fdcecc 100644 --- a/lib/postproc/phototypesetter.mjs +++ b/lib/postproc/phototypesetter.mjs @@ -186,6 +186,8 @@ export default class Phototypesetter { this.output += char in this.glyphNames ? `C${this.glyphNames[char]}\nw` : `c${char}\nw`; + if(this.debug) + this.output += "\n"; }