Re: [PATCH] Remove hardcoded font size (bigboard "core")
- From: Owen Taylor <otaylor redhat com>
- To: Marco Pesenti Gritti <mpgritti gmail com>
- Cc: Online Desktop <online-desktop-list gnome org>
- Subject: Re: [PATCH] Remove hardcoded font size (bigboard "core")
- Date: Tue, 03 Jun 2008 11:01:45 -0400
On Tue, 2008-06-03 at 16:51 +0200, Marco Pesenti Gritti wrote:
> - desc = pango.FontDescription('Sans 10')
> - layout.set_font_description(desc)
> + layout.set_font_description(style.get_font())
>
> Hmmm, this will ignore the box font property, right?
Yes. But then again, since we were just entirely hard-coding it before,
I don't think it matters much.
It's not worth over-thinking this code ... if the SVG theming stuff I'm
working on now works out, it will be going away in any case.
- Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]