예제 #1
0
 public Chunk createChunk(String text, ChainedProperties props) {
   Chunk ck = new Chunk(text, getFont(props));
   if (props.hasProperty("sub")) ck.setTextRise(-6);
   else if (props.hasProperty("sup")) ck.setTextRise(6);
   return ck;
 }