mpogue2 / SquareDesk

Fully-featured music player and sequence designer, designed for square dance callers
10 stars 4 forks source link

Feature: PDF support for lyrics #57

Open mpogue2 opened 7 years ago

mpogue2 commented 7 years ago

Lyrics cue sheets can often be in PDF format

danlyke commented 7 years ago

It looks like this is the way forward: http://blog.qt.io/blog/2017/01/30/new-qtpdf-qtlabs-module/

But I'm having trouble getting their demo to compile on Ubuntu right now. sigh.

mpogue2 commented 7 years ago

Yep, that looks like the way forward! :-)

mpogue2 commented 7 years ago

I'm not sure about allowing PDF lyrics now, since such files are really not editable. Might be more useful to NOT allow viewing the PDFs, but instead just have an "Import Lyrics from PDF..." option, that grabs all the PDF text and sticks it into the current Lyrics pane (as text, but with the CSS hidden in there, so it can be edited as HTML). You can then style it however you want, and save it as .html . Voila!

mpogue2 commented 7 years ago

See also #32, which is getting some nice attention now from Dan!

mpogue2 commented 6 years ago

175 implements PDF support, using qpdfjs (which seems to work pretty well). Leaving this one open, since the Lyrics tab doesn't yet use qpdfjs, and also qpdfjs is not yet in mainline.

mpogue2 commented 6 years ago

175 is now in -- merged to Master in 3a136c5d8f31e3e4eec260241e1d63a2cf60b318 . So, PDF lyrics support should now be possible to add.