Evas Text/Textblock: Use locale for lang as default. 17/59117/1
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 26 Jan 2016 10:48:42 +0000 (10:48 +0000)
committerYoungbok Shin <youngb.shin@samsung.com>
Thu, 11 Feb 2016 01:56:50 +0000 (10:56 +0900)
commitffd2ff80f538793ae10b6ac8f7bee3f7e762d2d9
treebeb20bfafb9f192af286d37352ef9cf82a727720
parentcf91fdf9c55455f72a8c811c5e24cf3681ec3a5d
Evas Text/Textblock: Use locale for lang as default.

Summary:
The configuration files for Fontconfig can describe
how font list is made according to language information.
EFL also set the language for each Evas textblock styles
and used for loading font list.

But, this is inconvenient to use if we want to apply language
for loading font list according to system-wide locale information.
This patch will apply locale information for font list if there is
no specific language in description.

And it also add [lang=auto] for Evas Textblock.
auto - It loads locale for language.
none - It disables language.

@feature

Test Plan: N/A

Reviewers: woohyun, herdsman, tasn

Subscribers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D3344

Change-Id: I7a4d3d8d7a841f6f82190695488c28db86a91486
src/lib/evas/canvas/evas_font_dir.c
src/lib/evas/canvas/evas_object_text.c
src/lib/evas/canvas/evas_object_textblock.c
src/lib/evas/include/evas_private.h