| |interface Efl.Text_Font_Properties @beta | |├ (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
|Open||None||T7510 evaluate stabilization potential of efl.ui classes and dependencies|
|Resolved||ali.alzyod||T7934 type Efl.Font.Size|
|Resolved||ali.alzyod||T7935 enum Efl.Text_Font_Weight|
|Resolved||ali.alzyod||T7936 enum Efl.Text_Font_Bitmap_Scalable|
|Resolved||None||T7937 enum Efl.Text_Font_Width|
|Resolved||None||T7938 enum Efl.Text_Font_Slant|
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
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.
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.
Well, we had a discussion with Tom back then were we agreed that we should rename this to Efl.Ui.Text_Properties (as its not really a font object, but something that implements the properties of a font). This still looks not done yet.
Ohhhh, Now I get what you mean Efl2.Text.Font.Properties vs efl.text_font, sorry I was thinking of something totally different.
I can not think of more extensions can be added to font other than properties, but I am ok with renaming it.
Isn't it weird that we are creating an Efl.Text.Font namespace which only contains one class?
This should be Efl.Text_Font_Properties instead of Efl.Text.Font.Properties, to match Efl.Text_Font_Weight or Efl.Text_Font_Width, for example (or the other way around).