Skip to content

Commit

Permalink
Fix setColorFill from Chunk Background color
Browse files Browse the repository at this point in the history
  • Loading branch information
sixdouglas authored and asturio committed Oct 21, 2019
1 parent 7e5a8f0 commit f230d06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ else if (isJustified) {
float descender = chunk.font().getFont().getFontDescriptor(BaseFont.DESCENT, fontSize);
Object[] bgr = (Object[]) chunk.getAttribute(Chunk.BACKGROUND);

graphics.setColorFill((ExtendedColor) bgr[0]);
graphics.setColorFill((Color) bgr[0]);

float[] extra = (float[]) bgr[1];
graphics.rectangle(xMarker - extra[0],
Expand Down

0 comments on commit f230d06

Please sign in to comment.