vendredi 22 mai 2015

how can I install fonts on AWS Elastic beanstalk

I am looking to generate PDF using Java+iText with custom fonts. I am able to generate it on Windows machine but the same is not working on AWS Elastic Beanstalk.

below is the statement i am using to add the fonts to PDF. FontFactory.register("http://ift.tt/1FHvvXp", "Sans Bold");

The code works fine in my local Tomcat server, its generating the PDF with correct font as it is embedding fonts to PDF. but when I am generating the PDF from AWS Elastic beanstalk, the fonts are not embedding.




Aucun commentaire:

Enregistrer un commentaire