Live data from Hacker News

Show HN: PDF Differ

pdfdiffer.com

11–18 of 18 posts

Re: Show HN: PDF Differ

#11

Slightly related, I recently discovered that `less` can read pdf files out of the box. Seems like it is working on Linux but not on macOS.

MacOS comes with an old version of less (581.2) - as Apple fears and avoids GPL v3.

Brew etc holds newer versions - but this particular issue probably has to do with missing lesspipe:

https://github.com/wofr06/lesspipe#42-list-of-preprocessed-f...

Re: Show HN: PDF Differ

#12
Suggestion: When highlighting text, you want to use "multiply" blend mode (a.k.a. subtractive color mixing) instead of opacity. Opacity makes black text lighter/greyish, which is not how physical text markers work, or colored sheets of transparent plastic.

Re: Show HN: PDF Differ

#13

Slightly related, I recently discovered that `less` can read pdf files out of the box. Seems like it is working on Linux but not on macOS.

This is likely lesspipe.sh used via LESSOPEN. Less itself certainly doesn’t understand PDF, but it allows automatic custom preprocessing of its input, which many Linux distributions have preconfigured as the system default.

Re: Show HN: PDF Differ

#14
post #12

Suggestion: When highlighting text, you want to use "multiply" blend mode (a.k.a. subtractive color mixing) instead of opacity. Opacity makes black text lighter/greyish, which is not how physical text markers work, or colored sheets of transparent plastic.

Thanks for the suggestion. I plan on having user selectable blend modes. Currently, it's using the "difference" blend mode. This mode makes it easy to spot shifted images.

Re: Show HN: PDF Differ

#17
post #12

Suggestion: When highlighting text, you want to use "multiply" blend mode (a.k.a. subtractive color mixing) instead of opacity. Opacity makes black text lighter/greyish, which is not how physical text markers work, or colored sheets of transparent plastic.

I've just implemented user selectable blend modes. I've included the multiply mode as well. Thanks for your feedback.

Re: Show HN: PDF Differ

#18
post #17
post #12

Suggestion: When highlighting text, you want to use "multiply" blend mode (a.k.a. subtractive color mixing) instead of opacity. Opacity makes black text lighter/greyish, which is not how physical text markers work, or colored sheets of transparent plastic.

I've just implemented user selectable blend modes. I've included the multiply mode as well. Thanks for your feedback.

Cool!
Post reply on HN