<div dir="ltr">2013/1/17 Leonardo M. Ramé <span dir="ltr"><<a href="mailto:l.rame@griensu.com" target="_blank">l.rame@griensu.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On 2013-01-17 08:52:49 -0200, silvioprog wrote:<br>
> 2013/1/17 Michael Van Canneyt <[1]<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>><br>
<div>><br>
> On Thu, 17 Jan 2013, Sven Barth wrote:<br>
><br>
> Am 17.01.2013 08:52, schrieb Michael Van Canneyt:<br>
><br>
> Some time ago, I started a new reporting engine exactly for this<br>
> reason.<br>
><br>
> And how far is your progress with that? Which reminds me that I should<br>
> finally test the new database search provided in packages... -.-<br>
><br>
> It is currently dormant; I had finished the looping logic, if memory<br>
> serves well.<br>
><br>
> Michael.<br>
><br>
> I've been thinking of porting jsPDF for Free Pascal:<br>
</div>> [2]<a href="http://jspdf.com" target="_blank">http://jspdf.com</a><br>
<div>> But, using inheritance, something like (a pseudo example):<br>
> VLabel.Text := 'Hello';<br>
> VLabel.Font.Style := [fsBold];<br>
> VMemo.Lines.Add('Line 1');<br>
> VMemo.Lines.Add('Line 2');<br>
> VMemo.Font.Align := faJustify;<br>
> ...<br>
> pdf.LoadFromJSON(<JSON>); // or pdf.LoadFromDataSet<br>
> pdf.AutoPaginate := True;<br>
> pdf.AddPage;<br>
> pdf.AddObject(VLabel);<br>
> pdf.AddObject(VMemo);<br>
> pdf.AddObject(VImage);<br>
> pdf.Print('print.pdf'); // or pdf.Print to print as DataURI<br>
> --<br>
> Silvio Clécio<br>
</div>> My public projects - [3]<a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a><br>
><br>
<br>
libHaru is exactly that, and I can confirm it works with Unicode Fonts,<br>
and everything I need.<br>
<div><br>
--<br>
Leonardo M. Ramé<br>
<a href="http://leonardorame.blogspot.com" target="_blank">http://leonardorame.blogspot.com</a></div></blockquote></div><div><br></div><div>Yes. I also need full support for UTF8.</div><div><br>
</div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>