[fpc-pascal] How do I test the testfppdf on Windows?

Michael Van Canneyt michael at freepascal.org
Sat Mar 5 19:56:46 CET 2016



On Sat, 5 Mar 2016, silvioprog 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:
>
> #0
> WRPR_$SYSTEM_$$_TINTERFACEDOBJECT_$_IUNKNOWN_$_2_$_SYSTEM$_$TINTERFACEDOBJECT_$__$$__RELEASE$$LONGINT
> at :0
> #1 ?? at :0
> #2 ?? at :0
> #3 ?? at :0
> #4
> WRPR_$SYSTEM_$$_TINTERFACEDOBJECT_$_IUNKNOWN_$_2_$_SYSTEM$_$TINTERFACEDOBJECT_$__$$__RELEASE$$LONGINT
> at :0
> #5 ?? at :0
>
> I also get some warnings and hints in the compilation:

Hm. This is strange, the code does not use interfaces at all.
The compilation hints/warnings do not really present me with a hint as to
what could be wrong.

Any chance to get a better stack backtrace ?

Michael.



More information about the fpc-pascal mailing list