[patch] pango_font_description_to_string()
- From: Sven Neumann <sven gimp org>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: [patch] pango_font_description_to_string()
- Date: 03 Oct 2001 18:38:00 +0200
Hi,
IMHO, pango/fonts.c needs the following patch:
--- pango/fonts.c 2001/10/01 20:27:24 1.35
+++ pango/fonts.c 2001/10/03 16:31:43
@@ -910,7 +910,7 @@
GString *result = g_string_new (NULL);
char *str;
- if (desc->family_name)
+ if (desc->family_name && desc->mask & PANGO_FONT_MASK_FAMILY)
{
const char *p;
size_t wordlen;
this would make the GTK+ font selector return to the previous
behaviour of displaying only the style and not family and style
in the Style column. May I commit this change?
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]