Prasengupta / weasyprint_for_awslambda

Supporting WeasyPrint in AWS Lambda
23 stars 7 forks source link

Update pango to >= 1.38 #5

Open mojimi opened 5 years ago

mojimi commented 5 years ago

Could you please update pango/cairo? When you run this WeasyPrint says this version does not support FontFace.

Or could you teach us how to do it?

HugoBarreto commented 5 years ago

It would be great to update README teaching the community how you manage to prepare these files to work in AWS lambda.

I'd like to get the latest version of aws weasyprint running in python 3.6

Prasengupta commented 5 years ago

@mojimi

You can follow this issue he has fixed it in the actual weasy print version.

For me it may take time to get the pango 1.38 https://github.com/Kozea/WeasyPrint/issues/376

Prasengupta commented 5 years ago

It would be great to update README teaching the community how you manage to prepare these files to work in AWS lambda.

I'd like to get the latest version of aws weasyprint running in python 3.6

Sorry, this weasy print is not working python 3.6, it should work in python 2.7.

@HugoBarreto Do you know how to deploy the lambda function?

mightym commented 5 years ago

@Prasengupta how did you compile the pango version?

I'm currently trying to update to a pango version greater than 1.38 because with that version webfont support is added on weasyprint.

mightym commented 5 years ago

btw this actually the reason why @mojimi opened this ticket. the pango version you provide here is not capable to handle webfonts

massivdare commented 5 years ago

Did anyone solve this yet?

MiGZhuo commented 5 years ago

@Prasengupta I am very much looking forward to having the support to Python 3.6. Many thanks!

cinarizasyon commented 5 years ago

Same issue for me. Please, can you support pango to >=1.38.

DanielMNeedham commented 4 years ago

Having a nightmare trying to upgrade pango to >=1.38 so plus 1 for this feature. As others have commented if you could document your process of getting these files we could have a go ourselves

mightym commented 4 years ago

A colleague spent hours on compiling the libs for the latest version of weasyprint for AWS lambda. With no success :(