discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Opal, NSFont, NSFontDescription and AppKit


From: Ivan Vučica
Subject: Re: Opal, NSFont, NSFontDescription and AppKit
Date: Sat, 2 Jun 2012 20:27:47 +0200

Alright.

If noone comes along, I'll explore both options, since this is currently blocking my GSoC work.

Keeping references to NSFont would also make writing UIKit-only, AppKit-free software impossible, so I'm currently leaning toward renaming Opal's NSFont and NSFontDescription to OPFont and OPFontDescription.

On Sat, Jun 2, 2012 at 7:29 PM, Gregory Casamento <greg.casamento@gmail.com> wrote:
None that I'm currently aware of.

GC

On Sat, Jun 2, 2012 at 1:13 PM, Ivan Vučica <ivucica@gmail.com> wrote:
> Hi,
>
> Opal and AppKit both contain mutually incompatible NSFont implementations.
> This means that my attempts to make use of Opal in an AppKit app are failing
> miserably (and only at runtime).
>
> It may be wise if someone more experienced with both AppKit and Opal would
> patch this. My current idea boils down to adding the few new ivars into
> AppKit, and to move any added methods into a category that'd ship as part of
> Opal.
>
> This would have a bad side effect of making Opal dependent on AppKit or
> another library that implements NSFont. Since UIKit doesn't contain NSFont,
> Apple's implementation obviously doesn't depend on NSFont. So, an
> alternative is to rename Opal's NSFont and explore what APIs would be
> broken.
>
> What free software currently uses Opal?
> --
> Ivan Vučica - ivan@vucica.net
>
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>



--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com



--
Ivan Vučica - ivan@vucica.net



reply via email to

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