• Here's a method to draw some text with whatever adjustment to the spacing you want:

    function drawStringWithSpacing(text, x, y, spacing) {
      for (var char of text) {
        g.drawString(char, x, y);
        x += g.stringWidth(char) + spacing;
      }
    }
    
About