libpango1.0-0 warnings !!



hello all!

When I running my program, the follow warnings is show:

** (marc21-editor-gui:754): WARNING **: Invalid UTF8 string passed
to pango_layout_set_text()


Code Part of my Software:

static GArray *lider05 = NULL;

static void
load_options(void)
{   
    TreeItem novo_item;
    
    lider05 = g_array_sized_new (FALSE, FALSE, sizeof (TreeItem), 1);
    g_return_if_fail (lider05 != NULL);

    novo_item.opcoes = g_strdup ("A");
    novo_item.descricao = g_strdup ("ÁÁÁÁÁÁ ÉÉÉÉÉÉÉÉ'ÓÓÓÓÓÓÓ");
    novo_item.repetitivo = TRUE;
    novo_item.ativo = TRUE;
    novo_item.editavel = TRUE;
    novo_item.children = NULL;
    g_array_append_vals (lider05, &novo_item, 1);

    novo_item.opcoes = g_strdup ("Z");
    novo_item.descricao = g_strdup ("ÇÇÇÇÇÇÇ EÉÉÉÉ ÉÉÉ'ÚÚÚÚÚÚÚ");
    novo_item.repetitivo = TRUE;
    novo_item.ativo = TRUE;
    novo_item.editavel = TRUE;
    novo_item.children = NULL;
    g_array_append_vals (lider05, &novo_item, 1);
}


I need use libpango for make works fine? That's functions? Anyone
known any sample for this??


Have fun!

-- 
Fernando Alencar Maróstica
Graduate Student, Computer Science
Linux Register User Id #281457

University Methodist of Piracicaba
Departament of Computer Science
email: famarost unimep br
homepage: http://www.unimep.br/~famarost




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]