diff options
| author | Nick White <git@njw.name> | 2021-08-17 13:39:09 +0100 | 
|---|---|---|
| committer | Nick White <git@njw.name> | 2021-08-17 13:39:09 +0100 | 
| commit | 767b60db23311adaf1035e821bc189877d63b7f0 (patch) | |
| tree | 16f20e400c2c259488622a98b71d199cad4f62e7 /internal/pipeline/testdata | |
| parent | 48c68cfa7f18992b26765c7b67c52c11687ad74a (diff) | |
pdf: Stretch words to fit in their boxes, for more perfect embedding
- Words are stretched to fit their boxes, which means the accuracy
  is now very high indeed. This was done by modifying gofpdf to add
  the SetCellStretchToFit function, which will hopefully be
  upstreamed in due course.
- Copy pasting from a PDF works well with lines rarely if ever being
  erroneously broken by the PDF reader. There was quite a bit of
  trial-and-error to improve this, and the stretched text plus a space
  being added after the word in CellFormat was the best (plus preserves
  accuracy of word and character locations).
Diffstat (limited to 'internal/pipeline/testdata')
0 files changed, 0 insertions, 0 deletions
