Re: [libcroco-list] Bruno's libcroco patches
- From: "Dominic Lachowicz" <domlachowicz gmail com>
- To: "Bruno Haible" <bruno clisp org>
- Cc: libcroco-list gnome org
- Subject: Re: [libcroco-list] Bruno's libcroco patches
- Date: Wed, 10 Jan 2007 13:15:32 -0500
Also committed. Thanks again.
On 1/10/07, Bruno Haible <bruno clisp org> 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 <bruno clisp org>
* 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]