On Fri, Feb 15, 2013 at 4:11 PM, Tom Hacohen <tom.haco...@samsung.com> wrote: > > At the moment, the API is kinda quirky: > Because we don't really know the current textblock font size, I had to > set a value. > So at the moment you actually need to set > text.size: 20; > text.size_range: 10 60; > > Which means textblock will be allowed to change font sizes to be > anywhere from half to 3 times the used font sizes. > > There are 3 alternative solutions to this in the order I prefer them: > 1. Process the style and get the font size used there and then use it > instead of text.size. > 2. Modify the style according to whatever we set in text.size. > 3. Leave it as it is. > > The only problems I can come up with regarding solutions 1 and 2 is that > some other things can actually affect the font sizes, like user styles > and formats, so that may be just an unrelated value. On the other hand, > the basic style size is actually set in the theme, so it's cool as it'll > actually be used. And the second problem is that styles might be changed > at any time and we'll have to hook on them in many places in order to > change them which can be pretty problematic because it goes straight to > textblock, not through edje. > > What do you guys think we should do? >
No idea, what is this supposed to do? > -- > Tom. > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel