Lotus Notes 8.5.3 troubles with exportDxl

Hi,

we have a Lotus Domino application that produces PDF files with PD4ML Libraries (Java version).

The application uses TTF Font IDAutomationHI25M.ttf to print a Barcode.

We had this application, that runs in background, perfectly running with a 7.0.3 domino server. Now we had to upgrade the server to 8.5.3 and the barcode shows a strange char string above.

The XML produced by dxl.exportDxl(tmp) is:

<pardef id=‘25’ align=‘center’ rightmargin=‘3.8229in’ keepwithnext=‘true’

keeptogether=‘true’/>

<font size=‘36pt’ name=‘IDAutomationHI25M’ truetype=‘false’

familyid=‘70’/>ÀU+!!$Ã<compositedata type=‘65402’ prevtype=‘65413’

nexttype=‘65413’ afterparcount=‘4’>

ev8iAAAABwAAAAAAAAAAAAAAAAAAAAAAAABiYXJjb2RlAA==

where the string “ÀU+!!$Ô is the Interleaved 2 of 5 encoding of number 5210000003 (as required by the fonts) while

the char string “ev8iAAAABwAAAAAAAAAAAAAAAAAAAAAAAABiYXJjb2RlAA==”(*) seems to be added by exportDxl function.

The code used to produce the XML from the document “doc” is:

            Document tmp = db.createDocument();

            RichTextItem rti = tmp.createRichTextItem("PD4MLBody");

            doc.renderToRTItem(rti);

            DxlExporter dxl = session.createDxlExporter();

            dxl.setConvertNotesBitmapsToGIF(true);

            dxl.setOutputDOCTYPE(false);

            String xml = dxl.exportDxl(tmp);

so, as long as I can understand, the only two functions we pass through are “renderToRTItem” and “exportDxl” and there should be a difference of behaviour between 7.0.3 and 8.5.3

Does any of you have any idea?

thanks a lot

tommaso

(*) or better the whole paragraph:

<compositedata type=‘65402’ prevtype=‘65413’

nexttype=‘65413’ afterparcount=‘4’>

ev8iAAAABwAAAAAAAAAAAAAAAAAAAAAAAABiYXJjb2RlAA==

Subject: A possible suggestion

UnDecoding Base64 the string:ev8iAAAABwAAAAAAAAAAAAAAAAAAAAAAAABiYXJjb2RlAA==

gives:zÿ"����������������������barcode�

with the text “barcode” at the end (that comes from the final part of the string AABiYXJjb2RlAA==)

In fact that field is a BARCODE…

even though this doesn’t help me :-<