Lumir Navrat writes:

> arial.put(STANDARD,BaseFont.createFont(pathToFonts +
> "Arial.ttf",BaseFont.IDENTITY_H,EMBEDDED));

Just 2 hints: 

1. It is now possible to register fonts to the FontFactory: 

  FontFactory.register(pathToFonts + "Arial.ttf");
  FontFactory.defaultEncoding = BaseFont.IDENTITY_H;
  FontFactory.defaultEmbedding = BaseFont.EMBEDDED; 

  and then use Font f = FontFactory.getFont("Arial"); 

  (I don't know if "Arial" is really the fontname,
  you should check the fontnames registered in the
  fontfactory. I also didn't have the time to check
  the possibility to add an alias:
  FontFactory.register("Arial", pathToFont + "Arial.ttf") ) 

2. If you were the person who asked for control over
  the space between two tables. This can be done with
  table.setOffset(somePixels); 

These two hints were suggested on the mailing list and
are included in the most recent release.

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to