Re: [PATCH weston] Add font entry to shell section for title fonts

2014-09-03 Thread Pekka Paalanen
On Tue, 2 Sep 2014 13:13:17 +0900 Ryo Munakata ryomnk...@gmail.com wrote: On Mon, 1 Sep 2014 14:05:42 +0300 Pekka Paalanen ppaala...@gmail.com wrote: On Thu, 28 Aug 2014 20:31:37 +0900 Hi, considering that the toytoolkit (well, shared/cairo-util.h here) uses cairo_show_text(),

Re: [PATCH weston] Add font entry to shell section for title fonts

2014-09-01 Thread Pekka Paalanen
On Thu, 28 Aug 2014 20:31:37 +0900 Ryo Munakata ryomnk...@gmail.com wrote: cairo-util has used sans font family for title fonts so far. But sans doesn't support non-ascii characters. So now let users choose a font family for titles. The entry name is generic, 'font' so that other places

Re: [PATCH weston] Add font entry to shell section for title fonts

2014-09-01 Thread Ryo Munakata
On Mon, 1 Sep 2014 14:05:42 +0300 Pekka Paalanen ppaala...@gmail.com wrote: On Thu, 28 Aug 2014 20:31:37 +0900 Hi, considering that the toytoolkit (well, shared/cairo-util.h here) uses cairo_show_text(), which is documented as: The cairo_show_text() function call is part of what

Re: [PATCH weston] Add font entry to shell section for title fonts

2014-09-01 Thread Jasper St. Pierre
Weston is not just a reference anymore: it's designed to be used in real environments. toytoolkit less so, but that's no reason to back down. Pango will do proper font selection (shaping) for you without any work on your part. It's designed to be a full text layout engine that's simple to use. On

[PATCH weston] Add font entry to shell section for title fonts

2014-08-28 Thread Ryo Munakata
cairo-util has used sans font family for title fonts so far. But sans doesn't support non-ascii characters. So now let users choose a font family for titles. The entry name is generic, 'font' so that other places where draw texts can use this entry too. Signed-off-by: Ryo Munakata