Я пытаюсь PDF.js.
Моя проблема в том, что демонстрация Hello World не поддерживает выбор текста. Он будет рисовать все на холсте без текстового слоя. официальная версия PDF.js поддерживает выбор текста, но код слишком сложный. Мне было интересно, есть ли у кого-то минималистичное демо с текстовым слоем.