I believe I found a bug in release 5.0, PDShadingPattern.java, in the method "getShading()":
The original method had ... shading = (PDShading) PDObject.META ...
I believe that "PDObject" should actually be "PDShading", making the complete method:
public PDShading getShading() { if (shading == null) { shading = (PDShading) PDShading.META .createFromCos(((COSDictionary) cosGetObject()) .get(DK_Shading)); } return shading; }
Log in to post a comment.
I believe I found a bug in release 5.0, PDShadingPattern.java, in the method "getShading()":
The original method had
...
shading = (PDShading) PDObject.META
...
I believe that "PDObject" should actually be "PDShading", making the complete method:
public PDShading getShading() {
if (shading == null) {
shading = (PDShading) PDShading.META
.createFromCos(((COSDictionary) cosGetObject())
.get(DK_Shading));
}
return shading;
}