<div dir="ltr"><div dir="ltr">On Sat, Dec 28, 2019 at 9:34 PM <<a href="mailto:camel-cdr@protonmail.com">camel-cdr@protonmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi.<br>I had some problems with cairo_show_text not displaying Unicode correctly. <br>It used to work back on my Debian setup, but some characters don't seem to work on arch.<br>This should be a problem with the font config, but I don't now what to do. <br>The terminal and all other applications display the characters without a problem.<br>These are some of the characters that don't work:<br>"☢ ☃"<br></blockquote><div><br></div><div>It's different font sets and default fonts.</div><div><br></div><div>HOWEVER, cairo_show_text() is *toy* API.  It's not usable for any real text rendering.  You should look into using pangocairo instead.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On a slightly related note, how is it possible to select a specific font family for Cairo.<br></blockquote><div><br></div><div>cairo_select_font_face().</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-- <br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org" target="_blank">cairo@cairographics.org</a><br>
<a href="https://lists.cairographics.org/mailman/listinfo/cairo" rel="noreferrer" target="_blank">https://lists.cairographics.org/mailman/listinfo/cairo</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div></div>