What I’m doing? Tying to convert docx to pdf file with below configuration of fonts.
I have following 3 fonts folder and also setting the fonts folder in the same order as below.
The Arabic Fonts.docx file has following fonts “Aldhabi”, “Andalus”, “Arabic Typesetting”, “Sakkal Majalla”, “Simplified Arabic”, “Segoe UI”, “Urdu Typesetting”, “Traditional Arabic”.
Tested environment: java version “1.7.0_72” and OS linux6 64bit.
Tested with latest Aspose word version 15.7.0 as well.
The generated files has following issues.
Issue 1:Remove the Simplified Arabic.ttf file from customer folder and run the sample program.
Result:Aldhabi,Arabic Typesetting and Urdu Typesetting text is missing in pdf file(without_simplified_arabic_configureSystemAndCustomerFontLocation.pdf)
Why Aldhabi,Arabic Typesetting and Urdu Typesetting text is missing in pdf?
Issue 2:Run the sample program with Simplified Arabic.ttf file in customer folder.
Result: Except Simplified Arabic text everything is displayed in generated pdf file(with_simplified_arabic_configureSystemAndCustomerFontLocation.pdf).
Why the Simplified Arabic text is missing in pdf file?
Issue 3:Run sample program without liberation font folder.
Result: Everything is displayed in generated pdf file(without _liberation_configureSystemAndCustomerFontLocation.pdf)
Why after removing the liberation font folder everything is displayed in pdf?
It easy to reproduce and attached all required ttf files and sample program to reproduce this issue.Copy ALBANW**.7z to albany folder.