weasyprint_for_awslambda icon indicating copy to clipboard operation
weasyprint_for_awslambda copied to clipboard

Update pango to >= 1.38

Open mojimi opened this issue 5 years ago • 10 comments

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?

mojimi avatar Mar 06 '19 18:03 mojimi

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

HugoBarreto avatar Mar 27 '19 17:03 HugoBarreto

@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 avatar Mar 27 '19 19:03 Prasengupta

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?

Prasengupta avatar Mar 27 '19 19:03 Prasengupta

@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 avatar May 04 '19 22:05 mightym

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

mightym avatar May 04 '19 22:05 mightym

Did anyone solve this yet?

massivdare avatar May 22 '19 09:05 massivdare

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

MiGZhuo avatar Jul 02 '19 12:07 MiGZhuo

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

cinarizasyon avatar Aug 21 '19 14:08 cinarizasyon

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

DanielMNeedham avatar Oct 11 '19 15:10 DanielMNeedham

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

mightym avatar Oct 11 '19 15:10 mightym