Hi,
We upgraded the docker container to the latest version docker.io/aspose/words-cloud:24.7
still not able to render the pdf the properly using aspose onPremise, all the characters are not rendered properly.
We have KhmerUI.ttf, LeelawadeUI.ttf fonts in the fonts folder aswell
Please find the attached pdf from aspose generation:
test-template-89d1a05b00734f92-bcogjj.pdf (124.0 KB)
Please find the docx file used for conversion:
INVOICE TEMPLATE 1 - Edited (1).docx (67.7 KB)
Please find the expected pdf
INVOICE TEMPLATE 1 - Edited (1)_ms_export.pdf (217.3 KB)
is there any option that needs to be passed for enabling the opentype features
The OpenTypeSupport flag will be available in the 24.8 version of the API. It must be set to true to enable and false to disable. I converted your document with fonts you mentioned(get them from google) and enabled OpenTypeSupport, but it looks different. How do you get expected PDF? Did you use MS Word to convert to PDF?
TestWordsCloud2686 Out.pdf (167.9 KB)
Yes the output pdf is what we require, so after 24.8 release
for
/v4/words/convert?format=pdf&fileNameFieldValue=sourceFilename
how should i enable the opentype support
it would be this way v4.0/words/convert?format=pdf&OpenTypeSupport=true
Thanks @yaroslaw.ekimov , by when can we expect the 24.8 release
I believe it will be available at the end of this week, maybe a bit earlier; we are currently working on it.
But if you mean the dockerhub version, it will be available next week.
Thanks.
Is it different from the cloud approach with opentypesupport. = true?
and is it different from onPromise docker approach without the opentypesupport =true?
when i checked in docker approach the opentypesupport filter didnt do any changes, it not rendering properly in both cases.
No, it is the same approach based on the same code and underlying library.