> 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


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to