chriskaza81 wrote:
> 
>   i have  a really problem  with iTextSharp DLL  , i try to write unicode
> (greek)  c#.net   my part of   code is below:
>  The problem is when i write to pdf Greek   it appears blank  (nothing
> happens)  i tryed many code samples from forums  but no result.

You are using the UNEMBEDDED Helvetica Type 1 font.
This font doesn't know what Greek glyphs look like.
(As documented!)

> please help if possible

Please use another font. More specifically a font that:
(1) contains Greek glyphs
(2) is embedded in your PDF

>  pdf.BaseFont STF_Helvetica_Greek =
> iTextSharp.text.pdf.BaseFont.CreateFont("Helvetica", "Cp1253",
> iTextSharp.text.pdf.BaseFont.NOT_EMBEDDED);

Replace "Helvetica" with "c:/windows/fonts/arialuni.ttf".
Replace "Cp1253" with BaseFont.IDENTITY_H.
Replace NOT_EMBEDDED with EMBEDDED.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to