Page MenuHomePhabricator

efl.text_font
Open, TODOPublic

Description

 | |interface Efl.Text_Font @beta
| |├ (P) font
| |├ (P) font_source
| |├ (P) font_fallbacks
| |├ (P) font_weight
| |├ (P) font_slant
| |├ (P) font_width
| |├ (P) font_lang
| |├ (P) font_bitmap_scalable
bu5hm4n created this task.May 3 2019, 11:12 AM
bu5hm4n triaged this task as TODO priority.
zmike moved this task from Backlog to Needs experts on the efl: api board.Jun 12 2019, 7:37 AM

The proposed rework:

interface Efl2.Text.Font.Properties
├ (P) font_family
├ (P) font_size
├ (P) font_source
├ (P) font_fallbacks
├ (P) font_weight
├ (P) font_slant
├ (P) font_width
├ (P) font_lang
├ (P) font_bitmap_scalable
zmike added a comment.Oct 1 2019, 9:17 AM

font_lang should be font_language I think since we've been consistent about not shortening words. Otherwise this is just doing font -> font_family and adding font_size. Seems reasonable, and the name Font.Properties also makes sense.

tasn added a comment.Oct 1 2019, 1:19 PM

I suspect this might change a bit tomorrow. This, as you said, is essentially a copy of what was there, though I'm having second thoughts about it. I'm in the process of reviewing everything now that we've had some time to absorb the new interfaces and I don't think I like this.