comp.lang.ada
 help / color / mirror / Atom feed
* gtkada: CAIRO_STATUS_INVALID_STRING
@ 2015-03-19  0:50 hreba
  2015-03-19  8:01 ` jan.de.kruyf
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hreba @ 2015-03-19  0:50 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-21 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19  0:50 gtkada: CAIRO_STATUS_INVALID_STRING hreba
2015-03-19  8:01 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox