Re: Font Description to CSS string

2016-11-21 Thread Ondrej Tuma
Hello, my mistake, I want to easy generate CSS data from PangoFontDescription https://developer.gnome.org/pango/stable/pango-Fonts.html#PangoFontDescription that i means generate string like: { font-family: Geneva CE; font-size: 12px; font-style: italic;

Font Description to CSS string

2016-11-18 Thread Ondrej Tuma
Hi all, as gtk_widget_override_font is deprecated from gtk 3.16, i try to use GtkStyleProvider. But, when I sent style data with font variable definitioin, I got WARNING message: Using Pango syntax for the font: style property is deprecated; please use CSS syntax So question is,