bug-gnustep
[Top][All Lists]
Advanced

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

Re: Fix: RTFConsumer, -currentFont


From: Georg Fleischmann
Subject: Re: Fix: RTFConsumer, -currentFont
Date: Wed, 4 Sep 2002 18:43:10 GMT

> Looks like [NSFont -initWithName:matrix:] is our own extension, and likely
> it should return nil if the font can't be found (it now returns the
> default font if I understand correctly).

The class method [NSFont fontWithName:size:] (and matrix) is implemented  
independant of [NSFont -initWithName:matrix:].


> In that case I suppose we need to change GSFontInfo to return nil (rather
> than a font info for a default font) if the font is not found.
>
> We then need to update all callers for the new semantics ... which
> hopefully should not be too many.
>
> I think it is exactly what you were proposing.

Yup.

Georg




reply via email to

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