[lazarus] Lazarus crash

Marc Weustink Marc.Weustink at cuperus.nl
Fri Mar 10 05:06:01 EST 2000

+ From: Alexandr A. Alexandrov [mailto:aaa at inreco.vtsnet.ru]

+   Well, i finally did it! Got lararus.exe on my Win98. It even
+   started. :-) The problem is, though, ith gtk stuff - when i
+   try to do project->new, i get
+ > Gdk-WARNING **: gdk_font_load:
+ > font name -*--normal-r-*-*-0-*-*-*-*-*-*-* illegal
+ > TODO:[TWinControl.Focused]

This is a known problem on win32 platforms. gdk crashes when loading an
illegal font. (on Linux it is no problem). I thought I fixed this by not
loading a font when no name was supplied.

However you get a TODO:[TWinControl.Focused] line so the problem might be
somewhere else.

do you get a
  WARNING: [TgtkObject.CreateFontIndirect] No fontname

if not then change the following:

  if lfFaceName = '' --> if Lenght(lfFaceName) = 0

this might help. Let me know.


More information about the Lazarus mailing list