[cairo] Help needed regarding STRETCH in pango
Deepak Kumar JAIN
deepak19dec at gmail.com
Thu Sep 22 07:35:51 PDT 2011
Hello,
I tried with other fonts also but Its doesnot work. like Arial and Times New
Roman.
Deepak
On Thu, Sep 22, 2011 at 3:54 PM, Maarten Bosmans <mkbosmans at gmail.com>wrote:
> 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
> >
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110922/98453f2e/attachment.htm>
More information about the cairo
mailing list