|
|
@ -268,10 +268,12 @@ public class PdfChunk { |
|
|
|
noStroke.put(Chunk.COLOR, f.getColor()); |
|
|
|
noStroke.put(Chunk.COLOR, f.getColor()); |
|
|
|
// noStroke.put(Chunk.ENCODING, font.getFont().getEncoding());
|
|
|
|
// noStroke.put(Chunk.ENCODING, font.getFont().getEncoding());
|
|
|
|
if(attributes.get("padding-left") != null){ |
|
|
|
if(attributes.get("padding-left") != null){ |
|
|
|
indent.setLeft((float)attributes.get("padding-left")); |
|
|
|
String paddingLeft = (String)attributes.get("padding-left"); |
|
|
|
|
|
|
|
indent.setLeft(Float.parseFloat(paddingLeft)); |
|
|
|
} |
|
|
|
} |
|
|
|
if(attributes.get("padding-right") != null){ |
|
|
|
if(attributes.get("padding-right") != null){ |
|
|
|
indent.setRight((float)attributes.get("padding-right")); |
|
|
|
String paddingRight = (String)attributes.get("padding-right"); |
|
|
|
|
|
|
|
indent.setRight(Float.parseFloat(paddingRight)); |
|
|
|
} |
|
|
|
} |
|
|
|
Object obj[] = (Object[])attributes.get(Chunk.IMAGE); |
|
|
|
Object obj[] = (Object[])attributes.get(Chunk.IMAGE); |
|
|
|
if (obj == null) { |
|
|
|
if (obj == null) { |
|
|
|