On 9/24/06, <b class="gmail_sendername">Mike Emmel</b> <<a href="mailto:mike.emmel@gmail.com">mike.emmel@gmail.com</a>> wrote:<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hmm<br>cairo-unicode.c<br>and the first step in the font drawing it to call either<br>_cairo_utf8_to_ucs4<br>or<br>_cairo_utf8_to_utf16<br><br>Okay I'm fine with utf16 I don't need ucs-2 there the same except<br>for the surrogates.
</blockquote><div><br>I don't want to get into this thread, as others have already replied enough and you just don't seem to get it. As much as I respect your contributions to cairo, I also believe that you really have no idea what Unicode text rendering requires. Anyway, just wanted to note that you are confusing ucs2 with utf16. Utf16 is the one with surrogates, and covers the entire Unicode range. Ucs2 only covers the BMP. Not the other way around.
<br></div></div><br>-- <br>behdad<br><a href="http://behdad.org/">http://behdad.org/</a>