You are not logged in.
Pages: 1
Hi,
I tried to use taJustified property with the Calibri font but it didn't work. When I changed font to Arial, it works fine, is there any solution ?
And one more question: I tried to use 2 words with different font sizes in one line. What is the best way to do it ?
Andrew
Offline
I tried the sample code (TestSQLite3Pages) with the Calibri font.
And it worked as expected by me.
What does "didn't work" mean?
This is not a very precise bug report.
Calibri + taJustified "didn't work" with SQLite3Pages report, or with PDF generation?
Did you get the latest source code from http://synopse.info/fossil ?
Offline
About 2 words in different font sizes in one line, it's not handled directly.
For that, you could use a TRichEdit then print its content on the report via the corresponding method, or directly use the Canvas property.
Offline
ok it's working, richedit too.
one more question: how to select printer before printing ?
var
printDialog : TPrintDialog;
MyPrinter: TPrinter;
TGDIP: TGDIPages;
...
TGDIP := TGDIPages.Create(Form1);
...
printDialog := TPrintDialog.Create(Form1);
MyPrinter := Printer;
if printDialog.Execute then
begin
PrintPages(1, 1);
end;
Its working too
Last edited by ebt25 (2011-03-27 17:02:12)
Offline
Pages: 1