On Sat, Mar 5, 2016 at 3:38 PM, silvioprog <silviop...@gmail.com> wrote:
> Hello, > > I just created the folder "fonts" and copied the > "C:\Windows\Fonts\arial.ttf" into that, so I changed the line > "D.AddFont('FreeSans.ttf', 'FreeSans-12' to "D.AddFont('arial.ttf', > 'Arial", however, when I try to run the project, I get a SIGSEGV: > To fix the SIGSEGV, I just disabled the heap (-gh) unit. Now I put all freetype binaries into my example folder, and after run the test, I got a "test.pdf" file about 654KB, but I can't open it on my Adobe Reader XI (latest version): "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem." And got five empty pages. -- Silvio Clécio
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal