Minor bufixes in axial shading, clipping on crop box

This commit is contained in:
Jakub Melka
2019-09-01 15:44:22 +02:00
parent 3e345a768f
commit 69ba66ae04
7 changed files with 60 additions and 15 deletions

View File

@ -1229,7 +1229,7 @@ PDFFontPointer PDFFont::createFont(const PDFObject& object, const PDFDocument* d
if (characterContentStreamObject.isStream())
{
QByteArray contentStream = document->getDecodedStream(characterContentStreamObject.getStream());
characterContentStreams[currentOffset] = qMove(contentStream);
characterContentStreams[static_cast<int>(currentOffset)] = qMove(contentStream);
}
++currentOffset;