smalot/pdfparser — pull request #54 by black-silence (2014-12-31 17:18:34+00:00)
Title: adjust section splitting for empty section

I have incoming files where a large part did not show up in the parsed text. When debugging I found that the section splitting matches empty BT/ET blocks incorrectly, ignoring the ET and going on until the next ET. This results in a section starting with ET which will be ignored by getCommandsText.
This pull request might also fix #37

> BT
> ET
> q
> 85.7 0 0 26.65 419.049 757.3 cm
> /Im1 Do
> Q
> BT
> /F1 8.0 Tf
> 0.0 Tc
> ...