Julian Hille
Julian Hille
there will be an update to the cpp code shortly, maybe that will also fix this one
Can you post a minimal example pdf, package.json,.package-lock, code and docker file so that I could run it and benchmark the code? Normally it should be several mb/s but that...
I'd start with the html to pdf part to test if that considers RTL as I have no idea if it takes that into account.
Would you mind trying a freetype font having a draw direction? I guess it would work.
Freetype fonts might have a draw direction as far as I understood the c code for freetype fonts. I wondered if maybe the libs do use this direction for drawing....
Im not really into rtl are there cases where reversing does not work?
There are some Infos missing. - Where does fileBuffer come from and what is it? - Please add a sample how to initialise it. is it uploaded to the server?...
if files are that huge, most of the time the file is, even if temporary, stored on disk. please check if possible to use `new muhammara.PDFRStreamForFile('./huge.pdf');` this could possibly reduce...
You may also have a look at CopyingContext that also might help reduce
Did you solve it? Do you had a chance to look at copying context?