[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fontWithName: size: mishandles size 0.0
From: |
Nicola Pero |
Subject: |
Re: fontWithName: size: mishandles size 0.0 |
Date: |
Tue, 26 Feb 2002 18:33:04 +0000 (GMT) |
Thanks - applied
> Hi,
>
> According to the docs I have, [NSFont +fontWithName: size:] is supposed
> to default to NSUserFontSize if it's called with size==0.0, but
> currently it returns a font with size 0. I've attached a patch that
> makes it use NSUserFontSize if it is available and otherwise fall back
> to size 12.
>
> - Alexander Malmberg