Hi Paulo,

I tried what you said and it work. This means I am able to create a
vertical text without using CJK fonts. The great thing about vertical
text is that I can set it's position like the following

VerticalText vt;
vt = new VerticalText(cb);
vt.setVerticalLayout(x, y, height, 1, leading);
vt.addText(new Chunk(convertCid("Text"), new Font(bf, 18)));
vt.go();

Can I do this with a PdfPCell too? I didn't find out how.

The idea is that I have several short vertical texts around and on an
image to create kind of a legend. So I need always just one cell in a
Table with vertical text.

Thanks for any hint!

Kind regards
   Sorin




On Nov 8, 2007 4:28 PM, Sorin Marti <[EMAIL PROTECTED]> wrote:
> Hi Paulo,
>
> I'll try to do this. I really got something wrong there. As I
> understood it, this was the only possibility to rotate text. shame on
> me!
>
>
> Kind regards
>    Sorin
>
> On 11/8/07, Paulo Soares <[EMAIL PROTECTED]> wrote:
> > That's what I thought. Use PdfPCell.setRotation(). There are other ways but 
> > this is the easiest one. You can use any font.
> >
> > Paulo
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Sorin Marti
> > > Sent: Thursday, November 08, 2007 3:08 PM
> > > To: Post all your questions about iText here
> > > Subject: Re: [iText-questions] Problem with vertical Text
> > >
> > > Hi Paulo,
> > >
> > > I'm not sure what CJK means but I want to render latin fonts including
> > > umlauts (ä ö ü) and the French characters (é è à)
> > >
> > > Kind regards
> > >   Sorin
> > >
> > > On 11/8/07, Paulo Soares <[EMAIL PROTECTED]> wrote:
> > > > That example is for CJK fonts. Do you want to render CJK
> > > fonts or just
> > > > latin ones?
> > > >
> > > > Paulo
> > > >
> > > > > -----Original Message-----
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED] On
> > > > > Behalf Of Sorin Marti
> > > > > Sent: Thursday, November 08, 2007 2:57 PM
> > > > > To: [email protected]
> > > > > Subject: [iText-questions] Problem with vertical Text
> > > > >
> > > > > Hi all,
> > > > >
> > > > > I am new to this list, hello everybody.
> > > > >
> > > > > I did a few things with iText and I have one particular
> > > problem which
> > > > > I was not able to solve by now. I hope someone can help me.
> > > > >
> > > > > - I print vertical text on a pdf page. I do that like in
> > > the example
> > > > > of the Homepage
> > > > > (http://itext.ugent.be/library/com/lowagie/examples/fonts/styl
> > > > > es/Vertical.java)
> > > > > - As you can see, the Font "KozMinPro-Regular" is used.
> > > > > - This is a japanese font.(?)
> > > > >
> > > > > When I generate this PDF I get a good result on AdobeReader8 with
> > > > > installed japanese package. Under any older reader I just get dots
> > > > > printed and just the AdobeReader8 tells me that he needs to be
> > > > > updated.
> > > > >
> > > > > So my question:
> > > > > - Is it possible to print vertical text with another font which is
> > > > > installed normally on a windows system and can be read by
> > > the acrobat
> > > > > reader without installing any other packages?
> > > > > - What do you do against that? In my humble opinion a PDF
> > > should be
> > > > > created that it can be read by anyone with the same
> > > reader. It's not
> > > > > good if it looks like a complete mess.
> > > > >
> > > > > Thanks for any hints, advices or solutions.
> > > > >
> > > > > Kind regards
> > > > >    Sorin
> >
> >
> > Aviso Legal:
> > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
> > informação confidencial ou legalmente protegida. A incorrecta transmissão 
> > desta mensagem não significa a perca de confidencialidade. Se esta mensagem 
> > for recebida por engano, por favor envie-a de volta para o remetente e 
> > apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o 
> > destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
> >
> > Disclaimer:
> > This message is destined exclusively to the intended receiver. It may 
> > contain confidential or legally protected information. The incorrect 
> > transmission of this message does not mean the loss of its confidentiality. 
> > If this message is received by mistake, please send it back to the sender 
> > and delete it from your system immediately. It is forbidden to any person 
> > who is not the intended receiver to use, distribute or copy any part of 
> > this message.
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > 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/
> >
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/

Reply via email to