Lately, I've stumbled upon a Java class that was performing the exact task I had on my mind when starting to write my gem. The class is extracting text from PDF while keeping the text structure. I was a Java developer once, but I wanted my project to still use Ruby.