[cairo] Accented characters and guimette

Behdad Esfahbod behdad at behdad.org
Wed Oct 13 06:45:26 PDT 2010

On 10/09/10 04:31, Nev Delap wrote:
> My problem is that running on Windows when it either does
> context.TextExtents() or context.ShowText() with guillemets or
> characters with accents, no subsequent output is producted. It doesn't
> get an exception, doesn't write anything to the console, it just doesn't
> draw anything more on that context.

Sounds like invalid UTF-8 is being passed to cairo.  I don't know what the C#
bindings for those functions is expecting.  You can query the context for its
error status, though I'd have expected that an exception be raised in such cases.


More information about the cairo mailing list