Thank you, I'll add the fix. Paulo
----- Original Message ----- From: "c:) Dechardt" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, March 29, 2007 3:26 PM Subject: [iText-questions] Changed FactoryProperties > Hello, > due to small font sizes i use with Itext and HTML i changed > FactoryProperties.createChunk > to > public Chunk createChunk(String text, ChainedProperties props) { > Font font= getFont(props); > float size= font.size(); > size= size / 2; > Chunk ck = new Chunk(text, font); > > if (props.hasProperty("sub")) > ck.setTextRise(-size); > else if (props.hasProperty("sup")) > ck.setTextRise(size); > return ck; > } > > (before, text rise was statically set to -6/ 6) > Is it worth to be submitted to CVS and how is it done ? > > Regards, > Carsten Dechardt > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
