<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 5, 2016 at 3:58 PM, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span> wrote:<br><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"><span class="">On Sat, 5 Mar 2016, silvioprog wrote:<br></span><span class=""><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 Sat, Mar 5, 2016 at 3:38 PM, silvioprog <<a href="mailto:silvioprog@gmail.com" target="_blank">silvioprog@gmail.com</a>> wrote:<br><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">Hello,<br>
<br>
I just created the folder "fonts" and copied the<br>
"C:\Windows\Fonts\arial.ttf" into that, so I changed the line<br>
"D.AddFont('FreeSans.ttf', 'FreeSans-12' to "D.AddFont('arial.ttf',<br>
'Arial", however, when I try to run the project, I get a SIGSEGV:<br>
<br>
</blockquote>
<br>
To fix the SIGSEGV, I just disabled the heap (-gh) unit.<br>
</blockquote>
<br></span>
Hehe =-)<span class=""><br>
<br>
<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">
<br>
Now I put all freetype binaries into my example folder, and after run the<br>
test, I got a "test.pdf" file about 654KB, but I can't open it on my Adobe<br>
Reader XI (latest version):<br>
<br>
"An error exists on this page. Acrobat may not display the page correctly.<br>
Please contact the person who created the PDF document to correct the<br>
problem."<br>
<br>
And got five empty pages.<br>
</blockquote>
<br></span>
Hm. I tried many PDF readers on the file. All unix based (okular,<br>
openoffice), but also the Google docs PDF viewer and Firefox PDF reader. All displayed the PDF just fine.<br></blockquote><div><br></div><div>Now I tried on Google PDF viewer, no errors, but:</div><div><br></div><div><a href="https://dl.dropboxusercontent.com/u/135304375/print.png">https://dl.dropboxusercontent.com/u/135304375/print.png</a><br></div><div><br></div><div>(sent a print just to you see how it is showed for me)</div><div> </div><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">
Can you send me the PDF you got ?</blockquote><div><br></div><div>It's a pleasure :-)</div><div><br></div><div><a href="https://dl.dropboxusercontent.com/u/135304375/test.pdf">https://dl.dropboxusercontent.com/u/135304375/test.pdf</a> . </div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div>
</div></div>