Hi Nicola,
Well, here is the long waiting change for NSFont. It's most exactly how you
suggested.
> 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).
>
> In
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 i
Fred Kiefer wrote:
> 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 re
> 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
Hi Georg,
thanks! I applied your patch. :-)
> Hi Nicola,
>
> Well, here is the long waiting change for NSFont. It's most exactly how you
> suggested.
>
> > Looks like [NSFont -initWithName:matrix:] is our own extension, and likely
> > it should return nil if the font can't be found (it now
> > 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,