NativeDocuments / docx-to-pdf-on-AWS-Lambda

Microsoft Word doc/docx to PDF conversion on AWS Lambda using Node.js
Other
48 stars 14 forks source link

Thank you! #1

Open JingyeL opened 5 years ago

JingyeL commented 5 years ago

Just to say a big thank you! I deployed and test this function smoothly.

3 minor issues

  1. The lambda function must be deployed to the same region as where your S3 bucket is. S3 bucket is 'global' although when it was created there is a 'home' region it belongs to. After I change to deploy the lambda function in that region, it works.
  2. file extension '.pdf' is appended to existing file name so 'document.docx.pdf'. It would be nice to have '.docx' removed. 3 Font type, it doesn't support Chinese characters. I suppose this is down to 'docx-wasm' library.
JasonHarrop commented 5 years ago

Thanks for your note. Supporting Chinese characters is a matter of including suitable fonts. We can do this, but have left them out of the default install to reduce the package size.