If the document contains an emtpy word, making PDF generation fail because the pdf does not know about the font that the word uses. A hack to fix it would be to check for those before trying to add them to the pdf. A better fix would be to find out how and where the words are not getting removed.
If the document contains an emtpy word, making PDF generation fail because the pdf does not know about the font that the word uses. A hack to fix it would be to check for those before trying to add them to the pdf. A better fix would be to find out how and where the words are not getting removed.