[cairo] Help needed regarding STRETCH in pango

Maarten Bosmans mkbosmans at gmail.com
Thu Sep 22 06:54:12 PDT 2011


2011/9/22 Deepak Kumar JAIN <deepak19dec at gmail.com>:
> Hello All,
>
> I am using pango_font_description_set_stretch(desc,
> PANGO_STRETCH_ULTRA_EXPANDED)
>
> but when I executed, I get the following warning:
>
> Pango-Warning: Couldn't load font "Courier Ultra-Expanded Not-Rotated 15",
> failing back to "Sans Ultra-Expanded Not Rotated 15", expect ugly output.

Perhaps courier is a fixed-width font and cannot be stretched?

> What can be wrong with the code. Earlier, I was getting same error with
> fonts but by adding comma after the font name, that was resolved.
>
> Thanks,
> Deepak
>
> --
>
> Thanks & Regards,
> Deepak Kumar JAIN
> Internship student,
> Orange Labs,France Telecom,
> Rennes, France
> Contact: +33(0)6 31 15 44 66
> www.deepakkumarjain.co.cc
>
> "I err therefore I am "- Saint Augustine
>
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list