On Tue, 29 Nov 2011 11:20:23 +1000 David Seikel <[email protected]> said:

> On Tue, 29 Nov 2011 10:13:23 +0900 Carsten Haitzler (The Rasterman)
> <[email protected]> wrote:
> 
> > On Tue, 29 Nov 2011 10:55:19 +1000 David Seikel <[email protected]>
> > said:
> > 
> > > That's the result of replacing "Vera.ttf" with "Sans" in the lua
> > > example script.  Turns out that's not in the text class as I
> > > thought,
> > 
> > that's not a text class at all. that's EXPLICITLY an inlined font
> > entry. it's telling edje to load that ttf and inline it into the edj
> > file for future reference as the font named "default".
> 
> Yep, that's what I said.

no - you said:

"Can a text class use Sans?  Or does it have to refer to a file?  It's
the text class example that is using Vera."

everything is working as it should. what you refer to is not a text class. text
classes are an explicit thing like color classes. they are for replacing fonts
with new ones based on class membership. :)

> > > but the font definition at the top of the edc.  Still needed to
> > > demonstrate that the lua font handling code can do both styles of
> > > fonts.  That example was my test bed, so I tried to exercise lua
> > > edje as much as possible.  Though I left out examples of line and
> > > polygon out of sheer laziness.
> > > 
> > > You can remove it if you really feel like it.
> > 
> > i think we just disable compiling of the examples - they are a manual
> > diy affair to help u see how to use things. we can't just ship
> > montains of test data with libs. sure it's just a tff - but thinking
> > sound later - large wavs too etc. - not a good path to go down.
> 
> I'm actually thinking about unit tests in the future.  Those parts that
> deal with that data will need some actual data to test with.  That
> all goes into the test directory of trunk though.
> 
> I agree with disabling compiling the examples.

unit tests are indeed useful. the problem is when they lug around large blobs
of data. i'm personally into the idea of separated tests for efl because of
this reason.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to