I tried to use the property text_class to change the font_size. I got a correct result but I still have a problem: we can't use 2 objects with 2 different value for a text class: in eyelight, I need to display a slide and his thumbnail: I need 2 different text size. It seems than the text_class is link to the Edje and not to a evas_object.
2008/9/2 Jose Gonzalez <[EMAIL PROTECTED]> > Carsten wrote: > > > On Tue, 02 Sep 2008 13:32:46 -0400 Jose Gonzalez <[EMAIL PROTECTED]> > babbled: > > > > > >> Freetype actually allows one to use a matrix for scaling the glyphs > that > >> it will rasterize (for given face/size). But this isn't being used by > evas > >> right now. > >> The whole issue of text/fonts is a complex one that needs a lot more > fine > >> detailed attention in evas... maybe a bit further down the road. > >> > > > > correct. as is just font scaling... but we should use the general matrix > - font > > size changing does not lead to proper scaling. i.e. > > > > font size 10 > > font size 20 > > > > the 20 size is NOT necessarily 2x the size in width/height for any string > than > > the 10. in fact most of the time it is not. if you can just do a proper > "take > > size X but then scale it" then you can do that, but evas doesnt have that > > support... but ... if you have generic transforms... i see no reason why > not to > > use it - the problem is, it blows away the font glyph cache because now u > also > > need to cache by glyph id as well as transform matrix. > > > > > > Yeah, it's something that will need some thought as to have some sort of > decent glyph caching along with possible transforms. For later.. :) > > > ____________________________________________________________ > Save on Emergency Alert Systems. Click here. > > http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3mXtZ8ZgUAQHF5k6Q4vi8YrfvqpOklAM10ctEQmlW0VpT2hO/ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Regards. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
