Re: Help needed regarding STRETCH in pango

Maarten Bosmans <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CA+CvcKSc__=XungFNtNFK4rjKu=K18vFevRo4OjGyY2v6-ScdQ@mail.gmail.com>
2011/9/22 Deepak Kumar JAIN <[email protected]>:
> 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
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
>
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.