Closed lcpz closed 11 years ago
Yes I think I will try to do this tomorrow, there will be set_font_type functions for each graphical widgets and you will be able to configure a global font type in the table theme.blingbling in your theme.lua file.
Thanks for your help and your suggestions.
I have made some modifications,
you can use widget:set_font("Sans") or add a parameter when you create a new widget , for example :
blingbling.progress_graph({other_param = "value", .., font="Sans" })
This should works.
Note : in order to display text I use cairo text functions which are closer to "toys" functions rather than real displaying text functions. This implies that options are really limited. If more control is needed on the text displayed in blingbling widget I will have use Pango layout which require more work.
I tried with pango markup, but doesn't work. Anyway this could be a property to set?