From: Vladimir Ushakov <ushakov@gmail.com>
Date: Mon, 16 May 2016 19:06:01 +0300
Subject: [PATCH] Get rid of ActualText class, move its functionality to
TextPage.
pdttotext -bbox-layout did not work after the first page because
TextOutputDev::takeText() did not know about ActualText keeping
an extra reference to the TextPage. The simplest fix would be not
to use broken takeText(), but on a second thought I decided that
the ActualText functionality is so tightly bound to the TextPage,
that it makes no sense keeping them apart.