You are not logged in.
Pages: 1
The solution for this problem can be found here:
http://stackoverflow.com/questions/7630 … -nativeint
NativeUInt is broken in D2009.
Problem was solved by setting the font from the default to this:
Font.Name := 'Arial Unicode MS';
After that, the preview showed the characters as expected.
When I add this code:
DrawTextAt('普罗朗生物电导扫描仪检测报告单', 80);
...
EndDoc;
ShowPreviewForm;
The Preview Form only shows [] or ?? instead of the Chinese characters. However when printing the PDF from the Preview Form, the Chinese characters show up as expected.
What might I need to do in Delphi 2009 (with Unicode) to see the Chinese characters within the Preview Form?
Chinese characters are showing up everywhere else throughout our application, just not in the Preview form.
I have tried the following:
* File Format of the source file is UTF-8
* Tried applying all of the available character conversion functions to the Chinese characters
EDIT: I have added a link to an image to better show the problem we are trying to solve:
Pages: 1