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.
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...