GNOME Bugzilla – Bug 768527
Request external API for pango_font_description_to_css()
Last modified: 2016-07-14 16:13:44 UTC
A very useful function for converting a pango font description to GTK CSS has been imported into gtk/gtkfontbutton.c recently, however this is not externally callable and has many external use cases. Can this function be made a public API so applications can call it directly?
I'm not convinced that we want to make this public; it is a pretty straightforward utility function, and it is not at all clear that there is a single 'canonical' output for such a helper. Should it include {} or let you add to a larger rule ? should it include the * selector or not ? etc In short: just copy the function if you need it
Well it is under the LGPL and I need it under BSD to include it in my project... I asked the original author and he told me to ask you to make it a public API, which is a comment that was included in the original commit message.