[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix: RTFConsumer, -currentFont
From: |
Alexander Malmberg |
Subject: |
Re: Fix: RTFConsumer, -currentFont |
Date: |
Wed, 04 Sep 2002 00:18:48 +0200 |
> Well, this brought up a problem with [NSFont fontWithName:size:]:
> If the desired font is not available, the method returns a default font
> instead of nil (OpenStep 4.2 returns nil in this case).
[snip]
> What do you think ?
(When writing back-art, I noticed that the font system is rather picky
about what values you give it (in particular, returning nil for unknown
fonts caused crashes). At the time, I just made it work, but back-art's
font handling is scheduled for a big cleanup (once I'm done with
compositing). I'll try to send a list of issues and questions to the
list soon.)
Anyway, my point is that I don't think it's worth fixing other things
until the basic NSFont stuff works properly :).
> Georg
- Alexander Malmberg