Re: [PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Jasper St. Pierre
Set a font description like "Sans" and then let Pango do the glyph selection with fallback fonts. It hooks together with fontconfig -- it knows well enough what font options are available. On Sat, Oct 4, 2014 at 6:47 PM, Ryo Munakata wrote: > On Sat, 4 Oct 2014 18:01:51 -0700 > "Jasper St. Pierr

Re: [PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Ryo Munakata
On Sat, 4 Oct 2014 18:01:51 -0700 "Jasper St. Pierre" wrote: > I don't think that's a great idea. The rest of my system uses Pango's > algorithms for doing font fallback and font shaping, and I don't see a > reason to differ from it. > > Not to mention that it's very unlikely that I want my wind

Re: [PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Ryo Munakata
Hi, Jasper. Thank you for reviewing! On Sat, 4 Oct 2014 07:09:54 -0700 "Jasper St. Pierre" wrote: > On Oct 4, 2014 4:37 AM, "Ryo Munakata" wrote: > > > > cairo-util has used sans font family for title fonts so far. > > But sans doesn't support glyphs of some non-ascii characters. > > So now le

Re: [PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Jasper St. Pierre
I don't think that's a great idea. The rest of my system uses Pango's algorithms for doing font fallback and font shaping, and I don't see a reason to differ from it. Not to mention that it's very unlikely that I want my window title to suddenly switch completely to a fullwidth font because it had

Re: [PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Ryo Munakata
On Sat, 04 Oct 2014 15:08:12 -0700 Bill Spitzak wrote: > On 10/04/2014 04:37 AM, Ryo Munakata wrote: > > cairo-util has used sans font family for title fonts so far. > > But sans doesn't support glyphs of some non-ascii characters. > > So now let users choose a font family for titles. > > > > To

Re: [PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Bill Spitzak
On 10/04/2014 04:37 AM, Ryo Munakata wrote: cairo-util has used sans font family for title fonts so far. But sans doesn't support glyphs of some non-ascii characters. So now let users choose a font family for titles. To show texts correctly now using pangocairo for redering fonts. If any single

Re: Wayland, Weston and libinput to patchwork?

2014-10-04 Thread Jonas Ådahl
On Wed, Oct 01, 2014 at 11:45:26AM +0300, Pekka Paalanen wrote: > Hi, > > at least with Wayland and Weston, we have bit of hard time tracking the > patches that need attention. I think I am currently the only one who > actually keeps a backlog, my backlog is not public, and I cannot be a > maintai

Re: [PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Jasper St. Pierre
On Oct 4, 2014 4:37 AM, "Ryo Munakata" wrote: > > cairo-util has used sans font family for title fonts so far. > But sans doesn't support glyphs of some non-ascii characters. > So now let users choose a font family for titles. > > To show texts correctly now using pangocairo for redering fonts. >

[PATCH weston v2 2/2] Avoid 'g_type_init() is deprecated' warnings

2014-10-04 Thread Ryo Munakata
Because of g_type_init we see the following: clients/editor.c:1350:2: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:679) [-Wdeprecated-declarations] g_type_init() has been deprecated and does nothing since version GLib 2.36. Signed-off-by: Ryo Munakata -

[PATCH weston v2 1/2] Add font entry to shell section for title fonts

2014-10-04 Thread Ryo Munakata
cairo-util has used sans font family for title fonts so far. But sans doesn't support glyphs of some non-ascii characters. So now let users choose a font family for titles. To show texts correctly now using pangocairo for redering fonts. If any single font in 'fonts' entry doesn't contain all the

[PATCH weston v2 0/2] Add font entry to shell section for title fonts

2014-10-04 Thread Ryo Munakata
This series adds a functionality to change font families. Sans font family has been used so far. This causes the texts of title bars which contain the glyphs Sans donesn't have are garbled. Now we use pango so that we can use fallback mode to render text properly even if the every single font in

[PATCH weston] xwm: find a seat for all the surface's views

2014-10-04 Thread Giulio Camuffo
This allows to move or resize a xwayland client by acting on all its views. --- xwayland/window-manager.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 4e91f9d..a283a3c 100644 --- a/xwayland/window-manager.c +