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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to