Re: [PATCH] Remove hardcoded font size (bigboard "core")



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]