1T3XT info <info <at> 1t3xt.info> writes:

> When you don't have bold, italic or bold italic fonts for Heiti,
> you'll have to mimic bold and/or italic.
> 
> > cb.SetFontAndSize(bfont, 18);   
> > cb.SetCharacterSpacing(1);   
> > cb.SetRGBColorFill(66, 00, 00);  
> 
> // simulate bold
> cb.setLineWidth(0.5);
> cb.setTextRenderingMode(PdfContentByte.TEXT_RENDER_MODE_FILL_STROKE);
> // simulate italic
> cb.setTextMatrix(1, 0, 25, 1, 0, 0);


Your answer helped me! Mimic-ing worked! Though I used it for English 
itself. Thanks a ton! :)


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
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