On 03/16/2010 10:40 AM, Vitaly V. Ch wrote: > Hi all! > > I set font i following way: > > PangoFontDescription *pfd = pango_font_description_new(); > > pango_font_description_set_family_static (pfd, "Courier"); > pango_font_description_set_size (pfd, size); > pango_font_description_set_weight (pfd,weight); > pango_font_description_set_style (pfd,PANGO_STYLE_NORMAL); > pango_font_description_set_stretch(pfd, stretch); > pango_layout_set_font_description (pl, pfd); > > according my measuring differences between Ultra-Condensed and > ultra-expanded is only 25% but I expect at least 200%.
Most probably because you don't have the "Courier" font available in all those different varieties. Check these bugs for adding artificial stretch: https://bugzilla.gnome.org/show_bug.cgi?id=613727 https://bugs.freedesktop.org/show_bug.cgi?id=21705 behdad > \\wbr Vitaly Chernookiy _______________________________________________ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n-list