Re: Fwd: Why Ultra-Condensed, Normal and ultra-expanded have very small differences?

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:


> \\wbr Vitaly Chernookiy

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]