Encode Text Error for special language chars
General-Purpose PDF Library for Java and .NET
Status: Beta
Brought to you by:
stechio
Dear,
when call ShowText and pass Russian text in Cyrillic like this "ИН",
pdfclow call Fonts.cs:public byte[] Encode
ByteArray code = codes.GetKey(textCode); //textcode = 1048
it returns null and call :
code = codes.GetKey(defaultCode); //defultCode = 63 '?' char
I think pdfclown doesn't have the cyrillic key in fonts file.
Ps: We have used Helvetica and Times but the results its the same.
Thanks in advice
If you used StandardType1 fonts like Helvetica and Times, be aware that those fonts are latin-based (no cyrillic characters). Otherwise, please inspect your fonts to verify whether they actually support those characters.
How can i use another fonts in pdf ?
Shall i include into the source code resources or can i link an external font ? (how..)