Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-03 Thread Magicloud Magiclouds
I see. Thank you. On Thu, Jul 3, 2014 at 8:22 AM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 2 Jul 2014 23:52:13 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: Although hard to believe there is no way to affect a text rendering. But alright. Thank you. you

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread The Rasterman
On Wed, 2 Jul 2014 13:14:55 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: Hi, I found some APIs in reference, and called them without error. But still, I could not see the font changed. can you be more specific? did you look at the elementary tests that do just this?

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread Magicloud Magiclouds
Hi, Sorry I am not sure which test did you talk about. I looked into elementary's source, tests and examples, no c source contains font. My code is: 19|c = Configuration () 20|for tc in c.text_classes_list: 21|fn = font_fontconfig_name_get ('WenQuanYi Micro Hei Mono')

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread The Rasterman
On Wed, 2 Jul 2014 14:21:41 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: elementary_test -to entry style user that one. :) test_entry_style_user() in test_entry.c in elm's src (src/bin) it does: elm_entry_text_style_user_push(en, user_style); where the style is:

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread Magicloud Magiclouds
On Wed, Jul 2, 2014 at 2:49 PM, Carsten Haitzler ras...@rasterman.com wrote: elm_entry_text_style_user_push Ah, thank you. But how is that for label? And if fotn_overlay is not for this, what is it for? -- 竹密岂妨流水过 山高哪阻野云飞 And for G+, please use magiclouds#gmail.com.

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread Magicloud Magiclouds
No font set for label? On Wed, Jul 2, 2014 at 4:58 PM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 2 Jul 2014 16:07:58 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: On Wed, Jul 2, 2014 at 2:49 PM, Carsten Haitzler ras...@rasterman.com wrote:

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread The Rasterman
On Wed, 2 Jul 2014 16:07:58 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: On Wed, Jul 2, 2014 at 2:49 PM, Carsten Haitzler ras...@rasterman.com wrote: elm_entry_text_style_user_push Ah, thank you. But how is that for label? And if fotn_overlay is not for this, what

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread The Rasterman
On Wed, 2 Jul 2014 16:58:33 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: No font set for label? that's what i said. :) On Wed, Jul 2, 2014 at 4:58 PM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 2 Jul 2014 16:07:58 +0800 Magicloud Magiclouds

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread Magicloud Magiclouds
Although hard to believe there is no way to affect a text rendering. But alright. Thank you. On Wed, Jul 2, 2014 at 6:07 PM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 2 Jul 2014 16:58:33 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: No font set for label?

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread Cedric BAIL
I didn't play much with elementary label, but I am guessing you can do what you want with a custom edje file. On Wed, Jul 2, 2014 at 5:52 PM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Although hard to believe there is no way to affect a text rendering. But alright. Thank you.

Re: [E-devel] Is there an example of setting font of elementary widgets?

2014-07-02 Thread The Rasterman
On Wed, 2 Jul 2014 23:52:13 +0800 Magicloud Magiclouds magicloud.magiclo...@gmail.com said: Although hard to believe there is no way to affect a text rendering. But alright. Thank you. you can always use styles and edje files to make new label styles of your own ... like every widget allows

[E-devel] Is there an example of setting font of elementary widgets?

2014-07-01 Thread Magicloud Magiclouds
Hi, I found some APIs in reference, and called them without error. But still, I could not see the font changed. -- 竹密岂妨流水过 山高哪阻野云飞 And for G+, please use magiclouds#gmail.com. -- Open source business process