Read The Bleepin’ Manual
Adobe PDF: Digital Paper That Never Gets Lost (Except Constantly)
PDF files are the cockroaches of chord charts: everybody uses 'em, nobody can kill 'em. You've probably been hoarding them for years & calling it a "digital library." LOL, amirite? The Adobe PDF file format is great at making the printed page look just right & works on every computer ever invented. It's also a total drama queen. Let's check out the challenges & how we can squeeze the text out of these things.
Adobe PDF files show up "as-is" in OnSong. No editing, no formatting, no low light mode for you. Sure, those files may contain text, but it's flung onto the virtual page just so it can be printed, not so any other app can make sense of it. ZOMG. Some PDFs are just pictures or scanned images pretending to be documents, or a freakin' mix of both. Some are even encrypted, which means they're guarding their secrets like a toddler with a cookie. Every PDF is a special snowflake, so there's no magic button for perfect conversion into a text document. Sorry. We tried. Srsly.
Wanna pull the text out of a PDF in OnSong? Open the Song Editor & tap the Extract Text button in the Conversion Toolbar that pops up before the on-screen keyboard shows its face. OnSong will first try to grab the text from the PDF the nice way. If there's no text, it'll go full robot & use Optical Character Recognition (OCR). You'll probably end up with text, but you'll have to babysit it & tweak it into a file format that OnSong understands. Oh, & if the file was encrypted? Enjoy your garbled gibberish. Those files can't be extracted because the software that made 'em locked 'em down tighter than a drum.
Here are some freakin' issues you may run into with extracted PDF files:
Spacing? What Spacing?
Some text may land out of order or with spacing that looks like a cat walked across the keyboard. That's because PDFs love taking shortcuts & line up text using a bunch of little text fragments. OnSong does its best to herd those fragments together using frame proximity calculations (fancy, huh?), but you may still have to fix stuff by hand. NOM NOM, extra work!
Chords with Extra Spaces
Every chord chart is made differently depending on the author & the software they used. Maybe the original had a bajillion space characters to line up chords over lyrics. Add a variable-width font & suddenly your chords are way more spaced out than the lyrics below. Use Fix Alignment Spaces in the Text Tools Menu in the Menubar of the Song Editor to yank those chords back where they belong, then nudge 'em around by hand as needed.
Compressed Chords
Another fun one: chords all smooshed together on the line above the lyrics like commuters on a subway. This happens when chords were originally stuffed into text boxes & then lined up over the lyrics. You'll need to manually line those chords up over the right words in the Song Editor. Yep. By hand. Like a caveman.
Garbled Characters
Try extracting text from an encrypted PDF & you may get a whole screen of random characters that looks like a keyboard exploded. Don't panic (okay, panic a little). Revert the extraction or bail out of the Song Editor & find a different way to get that text.
Unrecognized Characters
If OnSong can't pull the text straight out of the document, it may have to send it through optical character recognition (OCR). That means a computer will try to "read" the document with its little robot eyes. Depending on how crusty your PDF is, it might pick the wrong character. For example, a flat symbol might get read as a lowercase "b," or a scanned page with faded text might turn into who-knows-what. Review the document & fix stuff manually in the Song Editor. KTHXBYE.