Problem with bullet points when converting to MS word or PDF

Hi there

When I try to export a html page to MS Word and PDF with Aspose.word 4.3, it cannot recognize most of bullet points of the page. Please find attached both word (Promotion_UOM0116.doc) and pdf (Promotion_UOM0116.pdf) files converting from this page: http://policy-uat.unimelb.edu.au/UOM0116

The code for creating those files is:

if (type.equalsIgnoreCase("MsWord"))
{
    response.setContentType("application/msword");
    docName = docName + ".doc";
    tempName = tempName + ".doc";
    insertWatermarkText(doc, "uncontrolled when printed");
    doc.save(dir + tempName);
}
else if (type.equalsIgnoreCase("pdf"))
{
    response.setContentType("application/pdf");
    docName = docName + ".pdf";
    tempName = tempName + ".pdf";
    PdfOptions options = new PdfOptions();
    options.setHeadingsOutlineLevels(3);
    options.setExpandedOutlineLevels(1);
    options.setTrueTypeFontsFolder("/usr/share/fonts");
    String imagePath = getServletContext().getRealPath("") + "//images//watermark.png";
    insertWatermarkImage(doc, imagePath);
    doc.saveToPdf(0, doc.getPageCount(), dir + tempName, options);
}

Cheers
Alireza

Hi

Thanks for your inquiry. I cannot reproduce the problem on my side. The problem might occur because Symbol font is not available on your side. Aspose.Words uses this font to render bullets. If this font is not available, Aspose.Words uses an alternative font, and this font does not have glyph for bullet.
Best regards,

Hi

There is symbol.ttf in /usr/share/fonts path on my server and it still cannot generate bullet points.

Cheers
Alireza

Hi Alizera,

Thank you for additional information. Have you tried coping all true type fonts used in your document into a separate folder and specifying this folder as TrueTypeFontDirectory? Please let me know if this helps.
Also, please make sure that you application can read fonts from this folder.
Best regards.