[haiku-appserver] Re: server goes into debugger at startup.

  • From: "Stephan Assmus" <superstippi@xxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Thu, 14 Apr 2005 01:08:38 +0200 CEST

> Hi,
> 
>       Stephan, with your changes on font loading code, app_server won't 
> launch anymore.
> 
> if I make this:
> 
>       if(
> /* <<<<<<<<<<-----------
> !fontserver->SetSystemPlain(DEFAULT_PLAIN_FONT_FAMILY,
>                                                                  
> DEFAULT_PLAIN_FONT_STYLE,
>                                                                  
> DEFAULT_PLAIN_FONT_SIZE) ||
> */ <<<<<<<<<<-----------
>          !fontserver->SetSystemPlain(FALLBACK_PLAIN_FONT_FAMILY,
>                                                                  
> DEFAULT_PLAIN_FONT_STYLE,
>                                                                  
> DEFAULT_PLAIN_FONT_SIZE)) {
>               printf("Couldn't set plain to %s, %s %d pt\n",
>                               DEFAULT_PLAIN_FONT_FAMILY,
>                               DEFAULT_PLAIN_FONT_STYLE,
>                               DEFAULT_PLAIN_FONT_SIZE);
>       }
> 
>       if(
> /* <<<<<<<<<<-----------
> !fontserver->SetSystemBold(DEFAULT_BOLD_FONT_FAMILY,
>                                                                 
> DEFAULT_BOLD_FONT_STYLE,
>                                                                 
> DEFAULT_BOLD_FONT_SIZE) ||
> */ <<<<<<<<<<-----------
>          !fontserver->SetSystemBold(FALLBACK_BOLD_FONT_FAMILY,
>                                                                 
> DEFAULT_BOLD_FONT_STYLE,
>                                                                 
> DEFAULT_BOLD_FONT_SIZE)) {
>               printf("Couldn't set bold to %s, %s %d pt\n",
>                               DEFAULT_BOLD_FONT_FAMILY,
>                               DEFAULT_BOLD_FONT_STYLE,
>                               DEFAULT_BOLD_FONT_SIZE);
>       }
> 
>       if(
> /* <<<<<<<<<<-----------
> !fontserver->SetSystemFixed(DEFAULT_FIXED_FONT_FAMILY,
>                                                                  
> DEFAULT_FIXED_FONT_STYLE,
>                                                                  
> DEFAULT_FIXED_FONT_SIZE) ||
> */ <<<<<<<<<<-----------
>          !fontserver->SetSystemFixed(FALLBACK_FIXED_FONT_FAMILY,
>                                                                  
> DEFAULT_FIXED_FONT_STYLE,
>                                                                  
> DEFAULT_FIXED_FONT_SIZE)) {
>               printf("Couldn't set fixed to %s, %s %d pt\n",
>                               DEFAULT_FIXED_FONT_FAMILY,
>                               DEFAULT_FIXED_FONT_STYLE,
>                               DEFAULT_FIXED_FONT_SIZE);
>       }
> 
> ... then it works.
> 
> Note that I have the tree up-to-date and I'm testing under R5.
> I'm surprised I write this email... this doesn't happen on your 
> system?

The bug is not at that place, but somewhere in the FontServer. I should 
have tested without the Vera fonts installed under R5. I will fix this 
as soon as possible. Sorry for the inconvenience.

Best regards,
-Stephan



Other related posts: