Hi all,

I need to create file in pdf/a-1b standard, that will contain
language-specific characters.

I tried:

string encoding = GetEncodingForLanguage("pl");
BaseFont font = BaseFont.CreateFont("arial.ttf", encoding,
BaseFont.EMBEDDED);

but pdf/a validators returns error:
"The value of the key Encoding is Difference but must be WinAnsiEncoding or
MacRomanEncoding."


When i change to WinAnsi:
BaseFont.CreateFont("arial.ttf", BaseFont.WINANSI, BaseFont.EMBEDDED);

there is no validation error, but of course there is not national
characters.


Is there a way to create valid pdf/a-1b file with national characters ?



Przemek
-- 
View this message in context: 
http://old.nabble.com/pdf-a-validation-and-national-characters-tp28148749p28148749.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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