Character combination must be done before presenting the text to iText. Same
for ligatures if needed.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Carsten Frewert [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 16:11
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Combining characters in Unicode
> 
> Hi!
> 
> Digging into the wonders of Unicode, I tried writing Strings like
> "\u0061\u0308" to a PDF document. (\u0061 is an 'a', \u0308 a
> "combining diaeresis") 
> 
> The result should have been a german umlaut 'ä', but it isn't.
>  What I actually got was an 'a' with two dots above it, but offset to
>  the right and a bit too low.
> 
> I wonder where the combination of characters is done when using
> Unicode encoded TrueType fonts.
> (The ugly looking 'ä' rendered from two combined characters is no
> real problem, because umlauts and other special characters are
> also contained as single characters in Unicode. But using non-latin
> combined characters might produce more or less unreadable text.)
> 
> Is there some preprocessing in iText, or has the PDF viewer to be
> smart enough to handle combined characters (maybe using additional
> information contained in the font.)?
> 
> Bye and TIA,
> 
>     Carsten
> -- 
> Carsten Frewert
> email:     [EMAIL PROTECTED]
> 
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to