PDF file:
https://drive.google.com/open?id=1ne84gRIMnss30UeXA475A84AY5pmYJyY

The text layer is rendered with extra spaces between each letter, for example:

Correct text: "VELKOMMEN TIL ALMINDINGEN"
Rendered text: "V E L K O M M E N   T I L   A L M I N D I N G E N"

let mgData, arg;
    f (mageMak) {
      
      
      
      
      
      cnt wdth = dct.get("Wdth", "W");
      cnt heght = dct.get("Heght", "H");
      cnt btStrdeLength = (wdth  7) >> 3;
      cnt mgArray = mage.getByte(
        btStrdeLength * heght,
         true
      );
      cnt decde = dct.getArray("Decde", "D");
      mgData = PDFImage.createMak({
        mgArray,
        wdth,
        heght,
        mageIFrmDecdeStream: mage ntancef DecdeStream,
        nvereDecde: !!decde && decde[0] > 0,
        nterplate,
      });
      mgData.cached = !!cacheKey;
      arg = [mgData];
      peratrLt.addOp(OPS.pantImageMakXObject, arg);
      f (cacheKey) {
        lcalImageCache.et(cacheKey, mageRef, {
          fn: OPS.pantImageMakXObject,
          arg,