<br><div class="gmail_quote">Hello All,<br><br>I am new to Cairo Graphics. I heard about cairoGraphics from a developer at SHARP labs.<br><br>I am developing a text manipulation plugin which do several things like underline, strikeout text, etc.<br>
<br>
But I want to write the text in different fints like Times new Roman,  Arial , Courier, etc depending on what user prefers. These fonts will be input by the user and then on the basis of input by user, I have to write a text on the image.  But I am not able to write the text with Times New Roman. <br>

I am using pango_font_description_from_string(FONT) where FONT is defined as #define FONT &quot;Arial 27&quot;. It works for Arial but when I try to use Times New Roman, it says <br><b><i>&quot; Pango Warning&quot; couldn&#39;t load font Times &quot;, falling back to &quot;Sans not Rotaed 27&quot; , expect ugly output.<br>

</i></b><br>Please help me in this regard by suggesting how should I proceed?<br><br>Thanks,<br><br>Deepak JAIN<br><br>-- <br>
<div><br>Thanks &amp; Regards,<br>Deepak Kumar JAIN<br>Internship student, <br>Orange Labs,France Telecom,<br>Rennes, France<br>Contact: <a href="tel:%2B33%280%296%2031%2015%2044%2066" value="+33631154466" target="_blank">+33(0)6 31 15 44 66</a><br>
<a href="http://www.deepakkumarjain.co.cc" target="_blank">www.deepakkumarjain.co.cc</a><br>
</div>
<div><br><font face="Verdana, Arial, Helvetica, sans-serif" color="#000099">&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>
</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 face="Verdana, Arial, Helvetica, sans-serif" color="#000099">&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>