AlivePDF icon indicating copy to clipboard operation
AlivePDF copied to clipboard

Romanian/Latin Characters

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

What steps will reproduce the problem?
1. pdf.addText("ăîşţ");

What is the expected output? What do you see instead?
Is expected to see romanian characters "ăîşţ" but instead there are strange 
characters.

What version of the product are you using? On what operating system?
Win 7, AlivePDF 0.1.5 RC

Please provide any additional information below.
First I thought the problem is with charset, and this was just part of it. I 
replaced the original line of code with this one:
buffer.writeMultiByte( content+"\n", "iso-8859-2" );
Doing so, I'm able to see needed characters in the pdf if I open it with a text 
editor, but opening the pdf with adobe reader, I see strange chars instead. I 
use CoreFont.Times for this. I think problem is somewhere around the 
"/Encoding/WinAnsiEncoding" in the pdf, but please help me to fix this. 
AlivePDF is a great tool that I want to use in an aplicattion for the 
university, but 2 days I'm looking for this solution.
Thanks, 
Dima

Original issue reported on code.google.com by [email protected] on 23 Nov 2010 at 10:28

Attachments:

GoogleCodeExporter avatar Oct 22 '15 18:10 GoogleCodeExporter