Re: Help needed regarding STRETCH in pango

Deepak Kumar JAIN <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CA+5sP9-mVNEMVdx4AjHY_Hd4Wz4x4bD==x4hFkQHczkBquCW7w@mail.gmail.com>
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 <[email protected]>wrote:

> 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
> >
>



-- 

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
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.