Dave Barnes

Results 17 comments of Dave Barnes

@rorycl gofpdi v1.0.9 now supports xref streams

I have added this feature to another PDF generator library in the past, so I may be able to provide some insight. Basically, you just need to parse the kern...

I don't have any experience with PDF encryption; however, I will do some research to see how difficult it would be to encrypt the objects when they are imported into...

@denept 我添加了一个gofpdi接口,允许您获取PDF中所有页面的页码,宽度和高度。 这是在gofpdi v1.0.5中添加的。 @jung-kurt I have added an interface to gofpdi that allows you to get the page number, width, and height for all pages in a PDF. This...

@ariefdfaltah within the PDF specification, there is no concept of "portrait" or "landscape". Instead, you define one or more page boxes (MediaBox, TrimBox, etc.) with your desired page size. If...

Would you mind posting the PDF that causes this error?

@leonardomirandaDev that PDF appears to be damaged. There is no trailer, and the file is only 8192 bytes. Can you please upload it again?

The issue might be in [putImportedObjects](https://github.com/phpdave11/gofpdi/blob/master/writer.go#L469). If you're able to get it to import the same every time, please feel free to submit a pull request.

See discussion about the problem here: https://github.com/phpdave11/gofpdi/issues/15

Feel free to submit a pull request if you are able to fix the memory leak. There was an issue where the read() function was being called twice which has...