Cause
An error occurred when writing the PDF file.
Solution
Error: HPDF Error 0x1043, 0x0
The PNG image inserted in the document (logo) is invalid or not supported. Convert the PNG file to JPG format and use the JPG format in the document (logo).
Error: HPDF Error 0x105D, 0x0
It is not possible to embed the selected font in the PDF file. See also Unable to use font %1 in Pdf file. The font is replaced with a built-in font.
Error: HPDF Error 0x1028, 0x0
The error 0x1028 (HPDF_TTF_INVALID_FORMAT) occurs when, during PDF generation, the font or text cannot be interpreted correctly; the most common cause is the presence of typographic ligatures in the text (e.g. fi, fl, ffi) or special characters in the text.
To solve the problem, before generating the PDF, you need to normalize the text by removing the ligatures and replacing them with equivalent characters. For example, the single character "fi" should be replaced with the two separate characters "fi".
To avoid retaining ligatures and other advanced formatting, it is recommended to remove the formatting before pasting the text into Banana. To do this, you can use an external text editor such as Notepad or TextEdit, using the “Paste and Match Style” command. Alternatively, retype the text manually.
Additionally, pasting the text into a text editor makes it easier to identify any special characters that may cause the error during PDF generation.