From: hreba <hreba@terra.com.br>
Subject: gtkada: CAIRO_STATUS_INVALID_STRING
Date: Wed, 18 Mar 2015 21:50:51 -0300
Date: 2015-03-18T21:50:51-03:00 [thread overview]
Message-ID: <cmukreFfl6qU1@mid.individual.net> (raw)
I concatenate some strings created with Integer'Image and print them to
the screen with Cairo.Show_Text. A subsequent call to Cairo.Status
returns CAIRO_STATUS_INVALID_STRING. Calling Cairo.Show_Text with String
literals works fine.
The comments of Show_Text subprogram say that the argument shall be a
"NUL-terminated string of text encoded in UTF-8, or Null_Ptr". Appending
ASCII.NUL did not help. So what can I do to make the String UTF-8?
I am using the actual Ubuntu repository for Linux and GNAT GPL 2012 for
Windows, both with libgtkada2.24.
--
Frank Hrebabetzky +55 / 48 / 3235 1106
Florianopolis, Brazil
next reply other threads:[~2015-03-19 0:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 0:50 hreba [this message]
2015-03-19 8:01 ` gtkada: CAIRO_STATUS_INVALID_STRING jan.de.kruyf
2015-03-19 8:50 ` Dmitry A. Kazakov
2015-03-19 9:08 ` J-P. Rosen
2015-03-21 19:29 ` hreba
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox