bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix, NSFont, XGFont (was RTFConsumer)


From: Nicola Pero
Subject: Re: Fix, NSFont, XGFont (was RTFConsumer)
Date: Fri, 11 Oct 2002 00:30:13 +0100 (BST)

> > Most of this patch looks fine for me. What is missing is the special
> > handling now needed for the getNSFont() function. Here we should make
> > sure, that we always return a usefull font. As the only font we can be
> > sure about is the user font in the default size we should return this,
> > if any font is missing here. Not returning any font here will screw up
> > the system as we always expect the font attribute to be set to usable value.
>
> Well, I added a line to getNSFont() to load the defaultFont with default 
> size.  
> Please take a look at the attached patch, because I'm not sure, if this is  
> exactly what you meant. Thanks.

I expanded this a lot trying to make sure we have a valid default font in
all (most ?) cases.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]