Can a pango font be stretched?
- From: "Kang, Michael" <MKang sweda com>
- To: "Gtk Mailing List (E-mail)" <gtk-app-devel-list gnome org>
- Subject: Can a pango font be stretched?
- Date: Thu, 8 Apr 2004 15:44:27 -0400
Hi,
I work on Linux 9.
And I tried show some words on label1:
label1 = gtk_label_new (NULL);
gchar *str = g_strdup ("<span size='40960' stretch='extraexpanded'
style='italic'>
this is a bar!</span>");
gtk_label_set_markup (GTK_LABEL (label1), str);
gtk_widget_show (label1);
And I did the same thing on label2 EXCEPT stretch='extracondensed'.
But the two labels did not show any difference.
I also failed to get a narrower or wider font by using
pango_font_description_set_stretch ();
Does the font attribute "stretch" is supported by Pango on Linux 9?
If so, how to use it?
Thanks in advance.
Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]