alafr

Results 26 comments of alafr

It can be a memory leak in either this module or pdfkit. The new version of pdfkit (0.9.0) fixed some issues with high memory usage. I haven't tried it yet....

Thanks for the file. I'll try to see if svg-to-pdfkit's behaviour can be improved with huge svg files like that one.

I'm sorry i don't have much time right now. From the first tests it looks like svg-to-pdfkit can process this svg successfully (if all pdfkit functions are overridden with simple...

The only way to do it currently is the following: - call SVG-to-PDFKit in a temporary document - create a list of font families and populate it at each callback...

@isse The current color is not defined in your SVG. Adding the attribute `color="#000"` on the parent svg element makes it work. Browsers define the current color as black by...

I confirm this. It happens here https://github.com/alafr/SVG-to-PDFKit/blob/master/source.js#L2136 Can you check if text generated by PDFKit (like this one: http://pdfkit.org/demo/out.pdf) can be edited without issues? If so, the SVG-to-PDFKit code should...

I think this is a font loading issue. SVG-to-PDFKit doesn't load the fonts defined with `@font-face`... It should be possible to parse the CSS `@font-face` and register the base64 font...

I will consider merging this, when and if it gets supported in the official PDFKit repository... There are conflicts mostly because of the different indentation in your file (you will...

Hi, I commented some changes (mostly in the PDFKit part) that could me made to make the code cleaner and more similar to the existing PDFKit code. Are the `spotColors`...

Can you attach the entire SVG?