--- Paulo Soares <[EMAIL PROTECTED]> wrote:

> arialuni.ttf has the most complete glyph collection.
> Embedding will make
> the PDF work in any OS.
> 
> Paulo 

Thanks, i will use that.

The fonts work fine with basic text, but fail however
with the HTMLWorker util for non-english languages.

The method of getFont from FactoryProperties which is
used by the HTMLWorker to create chunks will always
use a default font. I overwrote this method to use
arial.ttf instead - but the text is still garbage when
parsing for example russian html with the HTMLWorker.
The same text works fine without html formating just
using chunks and the arial font.

Where could the problem be ?


 
> > -----Original Message-----
> > From:
> [EMAIL PROTECTED] 
> >
>
[mailto:[EMAIL PROTECTED]
> On 
> > Behalf Of Harakiri
> > Sent: Thursday, April 19, 2007 12:18 PM
> > To: Post all your questions about iText here
> > Subject: Re: [iText-questions] Best Font to
> support all 
> > European languages ?
> > 
> > Thanks for the reply, the font looks promising.
> > 
> > As always with embedded fonts - they have to be as
> > small as possible to not make a small pdf to
> large.
> > 
> > Do you know if embedding this font (or any other)
> will
> > work on other OS(Languages) too ?
> > 
> > Is Times Roman better then Arial ? Or is the
> gentium
> > the better choice ?
> > 
> > Thanks
> > 
> > --- mister bean <[EMAIL PROTECTED]>
> > wrote:
> > 
> > > 
> > > If you're working on Windows the charmap tool
> > > (C:\WINDOWS\system32\charmap.exe) permits you to
> see
> > > the entire set of
> > > implemented glyphs in a particular font file.
> The
> > > version of TimesRoman that
> > > is bundled with Windows, it appears, covers all
> > > European fonts, plus
> > > Cyrillic (Russian) and some, (possibly all)
> Arabic.
> > > Another font with all
> > > the European characters and many glyphs with
> > > multiple diacritics is Gentium,
> > > which is available for free
> > >
> >
>
(http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item
> > _id=Gentium)
> > > and you can see there in the supporting PDFs the
> > > remarkable number of glyphs
> > > in the font.
> > > 
> > > Certainly, other list members can point you to
> other
> > > useful resources.
> > > 
> > > ---Mister Bean
> > > 
> > > p.s. Bruno gives a list of font sites in the
> > > appendix to his book, by the
> > > way.
> > > 
> > > >>> re >>>
> > > 
> > > 
> > > Harakiri wrote:
> > > > 
> > > > Hello,
> > > > 
> > > > i read the "peace" example with multiple
> languages
> > > and
> > > > their font. Im still unsure on the font choice
> > > tho, so
> > > > far it seems that arial.ttf is able to display
> all
> > > > european languages.
> > > > 
> > > > Can anyone suggest the right font ?
> Specifically
> > > the
> > > > major languages like france,german and russian
> > > should
> > > > be supported in one font set. These do work on
> my
> > > > windows machine but i cant check on a russian
> > > winxp
> > > > for example.
> > > > 
> > > > Thanks
> > 
> 
> 
> 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 DB2 Express
> Download DB2 Express C - the FREE version of DB2
> express and take
> control of your XML. No limits. Just data. Click to
> get it now.
> http://sourceforge.net/powerbar/db2/>
_______________________________________________
> 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/
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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