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

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

dsdsdsds

URL:
  <http://savannah.gnu.org/bugs/?27099>

                 Summary: Incomplete implementation of -[NSFontDescriptor
matchingFontDescriptorsWithMandatoryKeys:]
                 Project: GNUstep
            Submitted by: yavor
            Submitted on: Fri 24 Jul 2009 05:57:38 PM EEST
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27099>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

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

dsdsdsds

Follow-up Comment #1, bug #27099 (project gnustep):

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.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27099>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

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

dsdsdsds

Follow-up Comment #2, bug #27099 (project gnustep):

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.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27099>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

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

dsdsdsds

Update of bug #27099 (project gnustep):

                  Status:                    None => In Progress            
             Assigned to:                    None => FredKiefer            


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27099>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

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

dsdsdsds
Follow-up Comment #3, bug #27099 (project gnustep):

Found a lot of useful information, thanks to the administrator for the post!
http://www.19216811ip.mobi

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27099>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

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

dsdsdsds
Update of bug #27099 (project gnustep):

                  Status:             In Progress => Ready For Test        
             Open/Closed:                    Open => In Test                


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27099>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep