Re: Pango FontDescription -> FontMetrics: HOW?
- From: Paul Davis <paul linuxaudiosystems com>
- To: Yannick Barbeaux <ybarbeaux gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Pango FontDescription -> FontMetrics: HOW?
- Date: Fri, 30 Nov 2007 08:30:08 -0500
On Fri, 2007-11-30 at 11:03 +0100, Yannick Barbeaux wrote:
> Thanks for your answer,
> that seemed to work indeed...
> until i changed the font size in my gtk rc file and realized that the
> size of my widget remained unchanged whatever the size of my font is..
>
> so this solution does not seem to take into account the widget font
> size?
the layout is created from the widget that is passed in. the font that
the layout uses will be based on the widget's style settings. the call
to Widget::ensure_style() forces the style to be loaded before creating
the layout.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]