Also committed. Thanks again. On 1/10/07, Bruno Haible <[EMAIL PROTECTED]> wrote: > Dominic Lachowicz wrote: > > I just wanted to say thanks for your libcroco patches. I've committed > > most of them to SVN. > > What about #2 mentioned in > http://mail.gnome.org/archives/libcroco-list/2006-November/msg00000.html ? > I propose this patch (untested): > > > 2007-01-10 Bruno Haible <[EMAIL PROTECTED]> > > * cr-fonts.c (cr_font_weight_get_bolder): Handle FONT_WEIGHT_INHERIT. > > *** cr-fonts.c 27 Nov 2006 12:53:29 -0000 1.2 > --- cr-fonts.c 10 Jan 2007 18:01:31 -0000 > *************** cr_font_variant_to_string (enum CRFontVa > *** 767,773 **** > enum CRFontWeight > cr_font_weight_get_bolder (enum CRFontWeight a_weight) > { > ! if (a_weight >= FONT_WEIGHT_900) { > return FONT_WEIGHT_900 ; > } else if (a_weight < FONT_WEIGHT_NORMAL) { > return FONT_WEIGHT_NORMAL ; > --- 767,776 ---- > enum CRFontWeight > cr_font_weight_get_bolder (enum CRFontWeight a_weight) > { > ! if (a_weight == FONT_WEIGHT_INHERIT) { > ! cr_utils_trace_info ("can't return a bolder weight for > FONT_WEIGHT_INHERIT") ; > ! return a_weight; > ! } else if (a_weight >= FONT_WEIGHT_900) { > return FONT_WEIGHT_900 ; > } else if (a_weight < FONT_WEIGHT_NORMAL) { > return FONT_WEIGHT_NORMAL ; >
-- Counting bodies like sheep to the rhythm of the war drums. _______________________________________________ Libcroco-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/libcroco-list
