The NSFont code in Opal never did match the one in gui. These are to
alternative implementations, or rather the Opal one is a prove of
concept. If you want to use Opal together with gui you need to switch
off OpalText (for which there is a make switch) or remove the text
support out of gui.
The correct solution here would be to rewrite the OPFreeTypeFont class
to be a subclass of GSFontInfo and to change NSFont to better support
font descriptors. This isn't too much work there just is nobody with
enough time.
Fred
On 27.03.2013 22:43, BALATON Zoltan wrote:
---------- Forwarded message ----------
Date: Wed, 27 Mar 2013 23:28:04 +0200
From: Gil Bahat <[email protected]>
To: BALATON Zoltan <[email protected]>
Subject: Re: gnustep-opal small bug (fwd)
Well, nothing but HEAD for both main gnustep and opal would work with
Darling… but it looks like this is blocking progress for almost every
interesting app i'm trying so it's worth fixing. but NSFont is not
supposed to be a significantly-moving target…
Gil
On Mar 27, 2013, at 11:03 PM, BALATON Zoltan <[email protected]> wrote:
Hello,
Sorry, I can't help but forwarded your message to the bug-gnustep list
where someone might be able to fix it. Which versions of the libraries
are you using? Are you sure there's no version mismatch between them?
Regards,
BALATON Zoltan
---------- Forwarded message ----------
Date: Wed, 27 Mar 2013 18:46:48 +0200
From: Gil Bahat <[email protected]>
To: [email protected]
Subject: gnustep-opal small bug
Hi,
I am trying to use gnustep-opal with darling
(http://darling.dolezel.info) and I am getting into an issue which I
thought you might be able to solve:
Error: Instance variables in OPFreeTypeFont overlap superclass
NSFont. Offset of first instance variable, fontFace, is 64. Last
instance variable in superclass, cachedFlippedFont, ends at offset
112. This probably means that you are subclassing aclass from a
library, which has changed in a binary-incompatibleway.
Aborted (core dumped)
it would be great if you could fix that to match NSFont again, I am
looking forward to using my program with opal…
Gil
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep