Fix generation of gradient shader function in PDF
Add the missing endobj tag for the shader function object. Change-Id: Ieb3cfa5a5d0e27d04164a80b028d41371507fb94 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
d3fd3171ce
commit
781b5a6198
@ -2073,7 +2073,8 @@ int QPdfEnginePrivate::createShadingFunction(const QGradient *gradient, int from
|
||||
for (int i = 0; i < gradientBounds.size(); ++i)
|
||||
s << gradientBounds.at(i).function << "0 R ";
|
||||
s << "]\n"
|
||||
">>\n";
|
||||
">>\n"
|
||||
"endobj\n";
|
||||
write(data);
|
||||
} else {
|
||||
function = functions.at(0);
|
||||
|
Loading…
Reference in New Issue
Block a user