Re: [PATCH 10/15] gnome-control-center: Font size reduction
- From: Bastien Nocera <hadess hadess net>
- To: Bryce Harrington <bryce canonical com>
- Cc: ubuntu-x lists ubuntu com, gnomecc-list gnome org
- Subject: Re: [PATCH 10/15] gnome-control-center: Font size reduction
- Date: Thu, 10 Apr 2008 21:08:08 +0100
On Thu, 2008-04-10 at 13:00 -0700, Bryce Harrington wrote:
> gnome-control-center: 108_cc-randr12-capplet-font-layout.patch (LP:
> #201589)
>
> Cosmetic issue. Shrinks font size from 16 to 12 so long monitor names
> fit within bounding boxes.
Your patch is reversed.
> diff -Nur -x '*.orig' -x '*~' gnome-control-center-2.22.1/capplets/display/xrandr-capplet.c gnome-control-center-2.22.1.new/capplets/display/xrandr-capplet.c
> --- gnome-control-center-2.22.1/capplets/display/xrandr-capplet.c 2008-04-09 12:49:31.000000000 +0100
> +++ gnome-control-center-2.22.1.new/capplets/display/xrandr-capplet.c 2008-04-09 12:50:05.000000000 +0100
> @@ -1373,8 +1373,10 @@
> cairo_stroke (cr);
> cairo_set_line_width (cr, 2);
>
> - layout_set_font (layout, "Sans Bold 12");
> -
> + layout_set_font (layout, "Sans Bold 16");
> + //pango_layout_set_width(layout, w * PANGO_SCALE);
> + //pango_layout_set_height(layout, (int)(h * scale + 0.5) * PANGO_SCALE);
> + //pango_layout_set_alignment(layout, PANGO_ALIGN_CENTER);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]