#1 2023-04-17 16:51:16

Charly52
Member
From: Germany
Registered: 2022-07-20
Posts: 12

how generate pdf with Unicode characters

hi all,

I try to generate an pdf file with mORMot und found the examples in the

mORMot-master\SQLite3\Samples\05 - Report created from code\  folder.

With this samples I am not able to generate a pdf with shows unicode characters correct.
The TestSQLite3Pages.dpl  shows the 5 Chars from   

UNICODE: array[0..5] of WideChar =
   (#27161,#28310,#33836,#22283,#30908,#0);

correct in the preview, but the generated pdf dosn't.


Are there some settings/changes neccessary or is it an issue?


Thanks for help charly

Offline

#2 2023-04-28 08:28:31

Charly52
Member
From: Germany
Registered: 2022-07-20
Posts: 12

Re: how generate pdf with Unicode characters

Hi all,

is there really noboy who can help?
I don't know as much as neccessary to understand the problem!

Thanks  Charly

Offline

#3 2023-04-29 02:52:59

igors233
Member
Registered: 2012-09-10
Posts: 241

Re: how generate pdf with Unicode characters

Perhaps try with some of the available properties (check code comments for their meaning):
StandardFontsReplace := False;
EmbeddedTTF := True;
UseUniscribe := True;
UseFontFallBack := True;

Also go through code with debugger, perhaps something could give a hint on how to solve issue.

Offline

Board footer

Powered by FluxBB