DOC to PDF convresion issue with Bullet rendering at Linux using Java

Hi together,

I’ve a problem converting a word document to a pdf. In the document there’s a list with a bullet before each row. In word the font of the bullets is “Symbol”.
When I try to convert the document to a pdf using Aspose.Words 4.0.2 and Linux (OpenSuse 10.2) it seems that the font couldn’t be found. Aspose draws some quadrangles instead of the bullets.
I’ve installed msttcorefonts-2.0-1. Is there an other font set I have to install?

Kind regards,
Frank

Hi

Thanks for your request. Could you please attach your input and output documents here? I will investigate the issue and provide you more information.

Dear AndreyN,

find attached the two documents.

Kind regards,
Frank

Hi Frank,

Thank you for additional information. Please make sure that “Symbol” font is installed on the PC where you perform conversion. I have this font installed and I cannot reproduce the problem on my side.

I attached the “Symbol” font and the output PDF produced on my side.

Dear Andrey,

I saw the fault, too. I’ll now install the following RPM: MicrosoftFonts-1-jen15.noarch.rpm

I’ll give you feedback about the result!

Kind regards,
Frank

Dear Andrey,

it works, but only with a trick!

When using the following code:

Document doc = new Document(source);
PdfOptions opt = new PdfOptions();
opt.setTrueTypeFontsFolder("/usr/share/fonts/mstcorefonts");
doc.saveToPdf(0, doc.getPageCount(), target, opt);

Aspose only takes a look to the folder /usr/share/fonts/mstcorefonts. When installing the Microsoft Font package, it will be installed to the folder /usr/share/fonts/truetype. When I now copy the fonts from truetype to mstcorefonts, it works! Will it be possible to name the root folder of the fonts in the PDF-Options?

Kind reagrds,
Frank

Hi Frank,

It is perfect that you managed to resolve the problem. Thank you for your suggestion. We will consider adding an option to look for fonts in the subdirectories of the specified root directory.

The issues you have found earlier (filed as 18577) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.