I'll start with a few pedantic considerations about Greek. The substitution
features mentioned here works by replacing most of the characters in the
Greek range with what's available in the font "Symbol". This characters have
nothing to do with ancient Greek characters that include also some other
glyphs and most of them have lots of accentuation above, below and on the
side of the character. I suspect that it doesn't even cover the basic modern
Greek characters. So, we should consider these Greek characters as symbols
used in mathematics and engineering rather than characters for the Greek
language.
This said, and with many thanks to my wife whose degree in ancient Greek and
Latin helped me in this dissertation, you have a couple of options for other
languages, not only Greek.
The more evident way is to select the appropriate fonts and create several
chunks each one with a particular font covering the character range needed.
The other option is to use the class FontSelector to select the appropriate
font to that character and the result is a phrase with the different chunks
inside. There is an example in itextpdf.sf.net.

Best Regards,
Paulo Soares

----- Original Message ----- 
From: "Bruno" <[EMAIL PROTECTED]>
To: "Richard Kennard" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 20, 2004 10:21
Subject: [iText-questions] Re: Small question about doco


> Quoting Richard Kennard <[EMAIL PROTECTED]>:
>
> > Bruno,
> >
> > First of all, many thanks for - and congratulations on - developing such
a
> > marvellous piece of software as iText! To date, I've found it nothing
but
> > easy-to-use and highly reliable. Well done!
> >
> > I have two quick questions regarding your doco at...
> >
> > http://www.lowagie.com/iText/tutorial/ch02.html#greek
> >
> > ..in it, you state...
> >
> > Ancient Greek
> > Because greek characters are used very often, there is a feature in the
> > constructors of class Phrase (and derived classes) that take a String as
> > parameter (so if you want to avoid this feature, you should always work
> > with
> > chunks, not with strings).
> >
> > QUESTION ONE
> >
> > Can I clarify if this last bit is meant to read 'you should always work
> > with chunks, not with phrases'?
>
> Yes, I guess it's a typo.
> It has been there for a really long time.
> I have corrected the page at lowagie.com
> I mustn't forget to put the correction in CVS
> for the next release.
>
> > QUESTION TWO
> >
> > For those Unicode characters outside the 'greek range', is iText's
ability
> > to render them based purely on the coverage provided by the font? If so,
do
> > the built-in fonts (such as Helvetica) have good support for Unicode
(ie.
> > Japanese, etc.)? If not, is iText smart enough to switch fonts to find a
> > matching glyph?
>
> That are many questions in one.
> The 'Ancient Greek' feature dates from before enhanced Font support.
> I needed it for a specific project.
> With iText you can switch between fonts easily as you have read in
> Chapter 9 of the tutorial. It would take some time to explain everything
> about fonts in a mail. Please experiment with different encodings ttf's,
> etc... and mail your questions to [EMAIL PROTECTED]
> for a quick answer.
>
> br,
> Bruno
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to