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"><<a href="mailto:mkbosmans@gmail.com">mkbosmans@gmail.com</a>></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 <<a href="mailto:deepak19dec@gmail.com">deepak19dec@gmail.com</a>>:<br>
<div><div></div><div class="h5">><br>
> Hello All,<br>
><br>
> I am new to Cairo Graphics. I heard about cairoGraphics from a developer at<br>
> SHARP labs.<br>
><br>
> I am developing a text manipulation plugin which do several things like<br>
> underline, strikeout text, etc.<br>
><br>
> But I want to write the text in different fints like Times new Roman, Arial<br>
> , Courier, etc depending on what user prefers. These fonts will be input by<br>
> the user and then on the basis of input by user, I have to write a text on<br>
> 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<br>
> #define FONT "Arial 27". It works for Arial but when I try to use Times New<br>
> Roman, it says<br>
> " Pango Warning" couldn't load font Times ", falling back to "Sans not<br>
> Rotaed 27" , expect ugly output.<br>
><br>
> Please help me in this regard by suggesting how should I proceed?<br>
><br>
> Thanks,<br>
><br>
> Deepak JAIN<br>
><br>
> --<br>
><br>
> Thanks & 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">+33(0)6 31 15 44 66</a><br>
> <a href="http://www.deepakkumarjain.co.cc" target="_blank">www.deepakkumarjain.co.cc</a><br>
><br>
> "I err therefore I am "- Saint Augustine<br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> Thanks & 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">+33(0)6 31 15 44 66</a><br>
> <a href="http://www.deepakkumarjain.co.cc" target="_blank">www.deepakkumarjain.co.cc</a><br>
><br>
> "I err therefore I am "- Saint Augustine<br>
><br>
><br>
</div></div>> --<br>
> cairo mailing list<br>
> <a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
> <a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>
<div><br>Thanks & 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">"<i style="color:rgb(0, 0, 0)">I err therefore I am </i>"- 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>