Re: [patch] pango_font_description_to_string()



Sven Neumann <sven gimp org> writes:

> 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?

Yes, please.
                                        Owen




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