Fred Kiefer wrote:

Kazunobu Kuriyama wrote:

Fred Kiefer wrote:

>
> As you by now will have noticed, the xlib backend comes along with its
> own XFT font class and I think that the font set support should be
> packaged up in a similar way. That is, a separate class in its own
> file that gets set as the default font class in [XGContext
> initializeBackend]. This allows even for a different way to list all
> the available font sets, if this is needed. And we don't need to
> fiddle with XGFont, ending up with a cleaner and smaller implementation.


Good idea.  Then I need to define a new subclass of GSFontInfo and use
it in [XGContext initializeBackend], right?


Exactly, this is very easy to do. Even some of the methods available for XGFont and GSXFTFontInfo are not needed, you will only need about ten methods or so.


Fred


Done. The 'dealloc' problem disappeared (Sorry to have annoyed you). Text display
becomes even faster. Other problems I recognized all have gone... You genius!
I'll send the revised patch to bug-gnustep shortly.


- Kazu






_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to