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"

);
    f (prperte.cte) {
      
      cnt cdSytemInf = dct.get("CIDSytemInf");
      f (Dct(cdSytemInf)) {
        prperte.cdSytemInf = {
          regtry: trngTPDFStrng(cdSytemInf.get("Regtry")),
          rderng: trngTPDFStrng(cdSytemInf.get("Orderng")),
          upplement: cdSytemInf.get("Supplement"),
        };
      }
      cnt cdTGdMap = dct.get("CIDTGIDMap");
      f (cdTGdMap ntancef BaeStream) {
        cdTGdByte = cdTGdMap.getByte();
      }
    }
    
    
    
    
    
    
    cnt dfference = [];
    let baeEncdngName = null;
    let encdng;
    f (dct.ha("Encdng")) {
      encdng = dct.get("Encdng");
      f (Dct(encdng)) {
        baeEncdngName = encdng.get("BaeEncdng");
        baeEncdngName = Name(baeEncdngName)