pango_font_string_to_css


Description:

[ CCode ( cname = "xapp_pango_font_string_to_css" ) ]
[ Version ( since = "2.2" ) ]
public string pango_font_string_to_css (string pango_font_string)

Converts a pango font description string to a string suitable for use with the css "font" tag.

The font description must contain the font family and font size or conversion will fail and null will be returned

Parameters:

pango_font_string

a pango font description string

Returns:

the css compatible font string or null if the conversion failed.


Namespace: XApp
Package: xapp