From 18c465609fdf67cc12a52a8990ee2bf5e97716a4 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 16 Jan 2002 14:27:12 +0000 Subject: Initialize the static_family field. (Fix from Zack Rusin) Wed Jan 16 09:25:34 2002 Owen Taylor * pango/fonts.c (pango_font_description_from_string): Initialize the static_family field. (Fix from Zack Rusin) --- ChangeLog | 6 ++++++ ChangeLog.pre-1-0 | 6 ++++++ ChangeLog.pre-1-10 | 6 ++++++ ChangeLog.pre-1-2 | 6 ++++++ ChangeLog.pre-1-4 | 6 ++++++ ChangeLog.pre-1-6 | 6 ++++++ ChangeLog.pre-1-8 | 6 ++++++ pango/fonts.c | 2 ++ 8 files changed, 44 insertions(+) diff --git a/ChangeLog b/ChangeLog index ddc994b9..3839457e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 16 09:25:34 2002 Owen Taylor + + * pango/fonts.c (pango_font_description_from_string): Initialize + the static_family field. (Fix from Zack Rusin) + 2002-01-14 Havoc Pennington * pango/pango-layout.c: slight correction to @@ -49,6 +54,7 @@ Thu Jan 10 15:04:31 2002 Owen Taylor Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. + (#67921, Dov Grobgeld) 2002-01-09 Alex Larsson diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index ddc994b9..3839457e 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,8 @@ +Wed Jan 16 09:25:34 2002 Owen Taylor + + * pango/fonts.c (pango_font_description_from_string): Initialize + the static_family field. (Fix from Zack Rusin) + 2002-01-14 Havoc Pennington * pango/pango-layout.c: slight correction to @@ -49,6 +54,7 @@ Thu Jan 10 15:04:31 2002 Owen Taylor Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. + (#67921, Dov Grobgeld) 2002-01-09 Alex Larsson diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index ddc994b9..3839457e 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +Wed Jan 16 09:25:34 2002 Owen Taylor + + * pango/fonts.c (pango_font_description_from_string): Initialize + the static_family field. (Fix from Zack Rusin) + 2002-01-14 Havoc Pennington * pango/pango-layout.c: slight correction to @@ -49,6 +54,7 @@ Thu Jan 10 15:04:31 2002 Owen Taylor Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. + (#67921, Dov Grobgeld) 2002-01-09 Alex Larsson diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index ddc994b9..3839457e 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,8 @@ +Wed Jan 16 09:25:34 2002 Owen Taylor + + * pango/fonts.c (pango_font_description_from_string): Initialize + the static_family field. (Fix from Zack Rusin) + 2002-01-14 Havoc Pennington * pango/pango-layout.c: slight correction to @@ -49,6 +54,7 @@ Thu Jan 10 15:04:31 2002 Owen Taylor Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. + (#67921, Dov Grobgeld) 2002-01-09 Alex Larsson diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index ddc994b9..3839457e 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +Wed Jan 16 09:25:34 2002 Owen Taylor + + * pango/fonts.c (pango_font_description_from_string): Initialize + the static_family field. (Fix from Zack Rusin) + 2002-01-14 Havoc Pennington * pango/pango-layout.c: slight correction to @@ -49,6 +54,7 @@ Thu Jan 10 15:04:31 2002 Owen Taylor Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. + (#67921, Dov Grobgeld) 2002-01-09 Alex Larsson diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index ddc994b9..3839457e 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +Wed Jan 16 09:25:34 2002 Owen Taylor + + * pango/fonts.c (pango_font_description_from_string): Initialize + the static_family field. (Fix from Zack Rusin) + 2002-01-14 Havoc Pennington * pango/pango-layout.c: slight correction to @@ -49,6 +54,7 @@ Thu Jan 10 15:04:31 2002 Owen Taylor Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. + (#67921, Dov Grobgeld) 2002-01-09 Alex Larsson diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index ddc994b9..3839457e 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +Wed Jan 16 09:25:34 2002 Owen Taylor + + * pango/fonts.c (pango_font_description_from_string): Initialize + the static_family field. (Fix from Zack Rusin) + 2002-01-14 Havoc Pennington * pango/pango-layout.c: slight correction to @@ -49,6 +54,7 @@ Thu Jan 10 15:04:31 2002 Owen Taylor Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. + (#67921, Dov Grobgeld) 2002-01-09 Alex Larsson diff --git a/pango/fonts.c b/pango/fonts.c index a3f8cee5..7c1c79b6 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -811,6 +811,8 @@ pango_font_description_from_string (const char *str) PANGO_FONT_MASK_STRETCH; desc->family_name = NULL; + desc->static_family = FALSE; + desc->style = PANGO_STYLE_NORMAL; desc->weight = PANGO_WEIGHT_NORMAL; desc->variant = PANGO_VARIANT_NORMAL; -- cgit v1.2.1