Thanks Maarten;<br><br>But still some of the fonst dont work and I get the same warning<br><br>fonts like Monotype Corsiva. What Should I do for those fonts?<br><br><div class="gmail_quote">On Mon, Aug 29, 2011 at 11:11 AM, Maarten Bosmans <span dir="ltr">&lt;<a href="mailto:mkbosmans@gmail.com">mkbosmans@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><a href="http://blogs.operationaldynamics.com/andrew/software/java-gnome/use-comma-in-font-description" target="_blank">http://blogs.operationaldynamics.com/andrew/software/java-gnome/use-comma-in-font-description</a><br>

<br>
2011/8/29 Deepak Kumar JAIN &lt;<a href="mailto:deepak19dec@gmail.com">deepak19dec@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt;<br>
&gt; Hello All,<br>
&gt;<br>
&gt; I am new to Cairo Graphics. I heard about cairoGraphics from a developer at<br>
&gt; SHARP labs.<br>
&gt;<br>
&gt; I am developing a text manipulation plugin which do several things like<br>
&gt; underline, strikeout text, etc.<br>
&gt;<br>
&gt; But I want to write the text in different fints like Times new Roman,  Arial<br>
&gt; , Courier, etc depending on what user prefers. These fonts will be input by<br>
&gt; the user and then on the basis of input by user, I have to write a text on<br>
&gt; the image.  But I am not able to write the text with Times New Roman.<br>
&gt; I am using pango_font_description_from_string(FONT) where FONT is defined as<br>
&gt; #define FONT &quot;Arial 27&quot;. It works for Arial but when I try to use Times New<br>
&gt; Roman, it says<br>
&gt; &quot; Pango Warning&quot; couldn&#39;t load font Times &quot;, falling back to &quot;Sans not<br>
&gt; Rotaed 27&quot; , expect ugly output.<br>
&gt;<br>
&gt; Please help me in this regard by suggesting how should I proceed?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Deepak JAIN<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Thanks &amp; Regards,<br>
&gt; Deepak Kumar JAIN<br>
&gt; Internship student,<br>
&gt; Orange Labs,France Telecom,<br>
&gt; Rennes, France<br>
&gt; Contact: <a href="tel:%2B33%280%296%2031%2015%2044%2066" value="+33631154466">+33(0)6 31 15 44 66</a><br>
&gt; <a href="http://www.deepakkumarjain.co.cc" target="_blank">www.deepakkumarjain.co.cc</a><br>
&gt;<br>
&gt; &quot;I err therefore I am &quot;- Saint Augustine<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Thanks &amp; Regards,<br>
&gt; Deepak Kumar JAIN<br>
&gt; Internship student,<br>
&gt; Orange Labs,France Telecom,<br>
&gt; Rennes, France<br>
&gt; Contact: <a href="tel:%2B33%280%296%2031%2015%2044%2066" value="+33631154466">+33(0)6 31 15 44 66</a><br>
&gt; <a href="http://www.deepakkumarjain.co.cc" target="_blank">www.deepakkumarjain.co.cc</a><br>
&gt;<br>
&gt; &quot;I err therefore I am &quot;- Saint Augustine<br>
&gt;<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; cairo mailing list<br>
&gt; <a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
&gt; <a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>-- <br>
<div><br>Thanks &amp; Regards,<br>Deepak Kumar JAIN<br>Internship student, <br>Orange Labs,France Telecom,<br>Rennes, France<br>Contact: +33(0)6 31 15 44 66<br><a href="http://www.deepakkumarjain.co.cc" target="_blank">www.deepakkumarjain.co.cc</a><br>
</div>
<div><br><font color="#000099" face="Verdana, Arial, Helvetica, sans-serif">&quot;<i style="color:rgb(0, 0, 0)">I err therefore I am </i>&quot;- Saint Augustine</font><br> </div>
<div></div>
<div></div>
<div></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><br>