Page MenuHomePhabricator

Evas font: allow ":fallbacks" keyword when Evas parses font keyword
ClosedPublic

Authored by id213sin on Feb 16 2016, 11:37 PM.

Details

Summary

Developers could use fallback fonts using only font_fallbacks keyword.
The keyword is only allowed for Evas Textblock. It has to be common
feature for other text type objects.
Applying this patch, Text and Textgrid can add fallback fonts.
@feature

Test Plan

Set font like the following example to Textblock, Text, Textgrid.
Sans:fallbacks=Inconsolata

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
id213sin updated this revision to Diff 8482.Feb 16 2016, 11:37 PM
id213sin retitled this revision from to Evas font: allow ":fallbacks" keyword when Evas parses font keyword.
id213sin updated this object.
id213sin edited the test plan for this revision. (Show Details)
id213sin edited the test plan for this revision. (Show Details)Feb 16 2016, 11:41 PM
id213sin added reviewers: tasn, herdsman, woohyun.
tasn accepted this revision.Feb 17 2016, 1:25 AM
tasn edited edge metadata.

I'm letting it in for consistency (and Edje fonts), though you probably want to set the fontconfig font fallbacks in your (tizen) case, and not use this api.

This revision is now accepted and ready to land.Feb 17 2016, 1:25 AM
This revision was automatically updated to reflect the committed changes.