Thanks for your help. I already made some tests with the different font as specifed in the book and for different languages. Chinese (STSong-Light,UniGB-UCS2-H), Japanese (KozMinPro-Regular, UniJIS-UCS2-H or V) before trying to use the VerticalText element.
Using a direct document.add( new Phrase(mytext,myFont)), I was able, with arialuni.ttf, to get the bold glyph effect for all (with arialuni and with specific fonts). The problem came only with the VerticalText and, I just tested it, only with the vertical encoding BaseFont.IDENTITY_V A text in BaseFont.IDENTITY_H encoding seems to be in bold in the VerticalText but not with the BaseFont.IDENTITY_V encoding. As I think I can't write Chinese or Japanese Top to Bottom, Right to left without VerticalText, here is my problem. About the VerticalText writting, I tried english or french texts in Horizontal or Vertical writting and the effect is the same. Bold available in Horizontal encoding but not in Vertical writting using chunks or Phrases elements. VerticalText vt = new VerticalText(writer.getDirectContent()); vt.setVerticalLayout(350, 550, 100, 25, 10); vt.addText( new Phrase( myTexte, xmlPrintFont.getFont() ) ); vt.addText( new Phrase( myTexte, xmlPrintFont1.getFont() ) ); vt.addText( new Phrase( myTexte, xmlPrintFont.getFont() ) ); vt.addText( new Phrase( myTexte, xmlPrintFont1.getFont() ) ); vt.go(); -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-insert-bold-text-in-VerticalText-tp4656887p4656899.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ iText-questions mailing list [email protected] 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
