Hi,
I'm trying to use a BaseFont loaded from a font file in a
VerticalText. It goes almost fine but
some characters like hyphen or parenthesis have to be rotated in the
VerticalText.

For example:

A-B

should be like

A
|
B

instead of

A
-
B

When I used standard font such as "HeiseiKakuGo-W5" those are rotated
correctly but if a
font is loaded from a file such as "/Windows/Fonts/msgothic.ttc" then
not rotated. I created
those fonts like followings:

BaseFont.createFont("HeiseiKakuGo-W5","UniJIS-UCS2-V",BaseFont.NOT_EMBEDDED);
//Good
BaseFont.createFont("/Windows/Fonts/msgothic.ttc,0",BaseFont.IDENTITY_V,
BaseFont.EMBEDDED); //Bad

My question is what is the difference between these fonts and is there
any way to fix this problem.
Thanks in advance.
Seiji Takegata

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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