The fork of pdfminer should be avoided. Either 1. use the latest version (it might include the wanted feature now) 2. raise a PR and merge upstream, this might need improvements in the code changes (corner cases, architectural design etc.)