Yuras
Yuras
@winterland1989 it `attoparsec` provides something like `takeChunk :: Parse ByteString` (which returns the unconsumed input without asking for more input), then will it be possible to build `attoparsec` parser from...
@coderfromhere Sure thing! Few issues to consider: - API for extracting should be designed carefully. It should be easy to use and at the same time don't impose arbitrary restrictions....
So it's a low level API to extract raw image data + metadata. Sounds reasonable for me! I'd prefer `io-streams` since they are there already.
Thank you! I checked the patch, and it looks OK so far. Please create a PR when you finish the patch.
Sure, see email in the profile. Are you using the stable version from hackage? Note that we are using heuristics to add spaces, they are not very reliable. There is...
Indeed the magic constant has nothing to do here. Actually the file contains this spaces, but the next glyph starts at the beginning of the space, overriding it. I send...
Thank you for the bug report. There is a fuzzy logic that inserts missing spaces (and also newlines): https://github.com/Yuras/pdf-toolbox/blob/f1d20479fe6782bc293468ac05186e658216388b/document/lib/Pdf/Document/Page.hs#L293 You can get the actual glyphs using this function: https://github.com/Yuras/pdf-toolbox/blob/f1d20479fe6782bc293468ac05186e658216388b/document/lib/Pdf/Document/Page.hs#L205, but...
So I checked the file. It uses the standard fonts, they don't include char widths. So we extract glyphs with incorrect bounding box. To fix it we need to include...
Hmm... That is the first time I hear about FDF. Do you have examples of FDF files? Any ideas how the API should look like? (NOTE: described in PDF Reference,...
@alexanderkjeldaas I downloaded few PDF files from your URL, and they have PDF forms. But I have no idea what to do with them. How to produce FDF file from...