Hi, Is it possible to have an underlined AND striken font? Seeing that they are both an attributes and not the font properties. Thank you. -----Original Message----- >From: ikorot@xxxxxxxxxxxxx >Sent: Feb 11, 2011 12:37 AM >To: Lex Trotman <elextr@xxxxxxxxx>, gtk-list <gtk-list@xxxxxxxxx> >Subject: Re: How to make a strikethrough font? > >Hi, > > >-----Original Message----- >>From: Lex Trotman <elextr@xxxxxxxxx> >>Sent: Feb 11, 2011 12:12 AM >>To: gtk-list <gtk-list@xxxxxxxxx> >>Subject: Re: How to make a strikethrough font? >> >>> It is called a "dialog" in MSVC resource editor. >> >>I assume that means your platform is windows?? > >No, you assumption is wrong. I'm trying to do that on Linux. > >> >>> >>>> >>>>> >>>>>> >> >>>>How? >>> >>> What do you mean? I'm going to use a DC to put the text on. >> >>Thats what I've been asking. >> >>If you are using Pango for your text, then you will use layouts to set >>out the text, set attributes like strikethrough and set the font >>description. Then use something like pango_win32_render_layout() to >>draw to the dc. >> >>See http://library.gnome.org/devel/pango/stable/pango-Layout-Objects.html > >OK, and how do I connect layout with pango font? > >Thank you. > >> >>Cheers >>Lex >> >>> Or just type some text in a text control. >>> >>> Thank you. >>> >> >>PS Please keep your replies on the list, not to me >>_______________________________________________ >>gtk-list mailing list >>gtk-list@xxxxxxxxx >>http://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list