BaseFont bf = BaseFont.createFont( MHei-Medium, UniCNS-UCS2-H, BaseFont.NOT_EMBEDDED );
cb.setFontAndSize( bf, 12.0f );
cb.showTextAligned( PdfContentByte.ALIGN_LEFT, "\u4e7d\u30ba", 72.0, 72.0 );
 
I get the second character (shown correctly) but nothing for the first. However, the second character is spaced over to make room for the first. I thought that 0x4e7d is the same ideograph for simplified and traditional - but the fonts would draw it differently? I am trying to draw a traditional ideograph (windows codepage 950).
 
????? - thanks - dave

 
----- Original Message -----
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "David Thielen" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 3:14 PM
Subject: Re: [iText-questions] Weirdness printing Chinese & Japanese chars using a Chinese font

> Did you simplified or traditional Chinese characters? That font is for
> traditional.
>
> Best Regards,
> Paulo Soares
>
> ----- Original Message -----
> From: "David Thielen" <
[EMAIL PROTECTED]>
> To: "itext" <
[EMAIL PROTECTED]>
> Sent: Wednesday, January 29, 2003 4:39
> Subject: [iText-questions] Weirdness printing Chinese & Japanese chars using
> a Chinese font
>
>
> > Hi;
> >
> > I selected a Chinese font MHei-Medium/UniCNS-UCS2-H and tried to print a
> > Chinese & Japanese (katakana) character. What's weird is only the
> > Japanese character printed although it was positioned over as though the
> > Chinese character was there.
> >
> > Any ideas?
> >
> > thanks - dave
> >
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>
http://www.vasoftware.com
> _______________________________________________
> iText-questions mailing list
>
[EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>

Reply via email to