Hello, and thank you in advance for any help that you can provide for my
problem.

I'using version 5.4.1 in Java.

When I add Chunks to a Paragraph, output is missing.

Example:

 public static final Font NORMAL = new Font(FontFamily.HELVETICA, 12,
Font.NORMAL);
 public static final Font BOLD = new Font(FontFamily.HELVETICA, 12,
Font.BOLD);

 .............

  Paragraph info1 = new Paragraph();
  info1.add(new Chunk("Hello", BOLD));
  info1.add(new Chunk(", ", NORMAL));
  info1.add(new Chunk("World", NORMAL));
  document.add(info1);
  // output: Hello,

  Paragraph info2 = new Paragraph();
  info2.add(new Chunk("Hello"));
  info2.add(new Chunk(", "));
  info2.add(new Chunk("World"));
  document.add(info2);
  // output: Hello

  Paragraph info3 = new Paragraph();
  info3.add(new Chunk("Hello"));
  info3.add(new Chunk(" "));
  info3.add(new Chunk("World"));
  document.add(info3);
  // output: Hello World


Using version 5.4.0 works fine

What's wrong??

 ------------------------------
Lorenzo Pozzetti
R. & D. Manager
Mobile : +39.340.7393328
Email : lorenzo.pozze...@giplo.com
*Giplo *s.r.l.
www.giplo.com
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to