Re: How to make a strikethrough font?



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 earthlink net
>Sent: Feb 11, 2011 12:37 AM
>To: Lex Trotman <elextr gmail com>, gtk-list <gtk-list gnome org>
>Subject: Re: How to make a strikethrough font?
>
>Hi,
>
>
>-----Original Message-----
>>From: Lex Trotman <elextr gmail com>
>>Sent: Feb 11, 2011 12:12 AM
>>To: gtk-list <gtk-list gnome org>
>>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 gnome org
>>http://mail.gnome.org/mailman/listinfo/gtk-list



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