Hello, I am writing a program that prints the resistance value in bold red colour. Please see the following snippet:
final_result = g_markup_printf_escaped("<span foreground=\"red\" weight=\"bold\" size=\"xx-large\"> %s±%.2f </span>",result,tolerance); gtk_label_set_markup(GTK_LABEL(label_Output),final_result); where the variable "result" will contain something like 20KΩ and tolerance will contain something like 0.25%. What I intend, is to print "20KΩ±0.25%" in bold red. But the problem is only 20K appears in bold and the remaining is not. The problem vanishes once i decide to use the word "Ohms" instead of symbol "Ω". Why is this so? Am I doing something wrong? How can I print Ω in bold? Send instant messages to your online friends http://in.messenger.yahoo.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list