bugGNUstep - Bugs: bug #27099, Incomplete implementation of...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #27099: Incomplete implementation of -[NSFontDescriptor matchingFontDescriptorsWithMandatoryKeys:]

Submitted by:  Yavor Doganov <yavor>
Submitted on:  Fri 24 Jul 2009 02:57:38 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: In Progress
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Open

Sun 23 Aug 2009 09:45:29 PM UTC, comment #2:

I just added a better support for font descriptors to GNUstep in SVN. Could you please give this a try?

I also looked at the code of Emacs to see, which parts of font descriptors actually get used there and noticed that it doesn't rely on the glyph generation in GNUstep. This part has been added about a year ago, is there any problem with our code, or did somebody forget to adjust to this feature?

Also line 500 in nsfont.m of emacs seems to be leaking font descriptors.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sun 26 Jul 2009 09:53:01 PM UTC, comment #1:

Yes, this method plus a few others are not properly implemented for font descriptors. Doing this correctly will require a bunch of changes in the back end as well.
There is a proper mapping from the font descriptor to the concept of a font config pattern, this could be used for the backends that support font config (cairo and xlib on modern systems). For the other backends we could just try to replace our self defined font information array, which we also call font descriptor, with Apples new class.
This will require changes in NSFont, NSFontDescriptor and NSFontManager as well as changes in all four backends (and as the xlib backend allows for different font mechanisms we will need multiple implementations for these as well)
I am willing to work on that after the next GNUstep release, but help surely is welcome here.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Fri 24 Jul 2009 02:57:38 PM UTC, original submission:

It looks like this method always returns an empty array. This is a big problem for Emacs.app with the new font driver; it doesn't even start.

Yavor Doganov <yavor>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by yavor (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Sep 2009 02:13:18 PM UTCFredKieferStatusNone=>In Progress
      Assigned toNone=>FredKiefer

    Back to the top


    Powered by Savane 3.1-cleanup