On 10/04/13 13:19, Carsten Haitzler (The Rasterman) wrote:
> On Wed, 10 Apr 2013 11:59:30 +0100 Tom Hacohen <[email protected]> said:
>
>> On 10/04/13 11:22, Carsten Haitzler (The Rasterman) wrote:
>>> On Mon, 08 Apr 2013 10:48:53 +0100 Tom Hacohen <[email protected]>
>>> said:
>>>
>>> in the rest of the code fs->current_size is the current active size for the
>>> font instance - since multiple instances share the same source outline.  by
>>> setting it to 0 we are forcing an evaluation of font size by other font
>>> instances sharing the same source. the code does this in several placesto
>>> basically "flush the current size and re-eval". somwhere the font code gets
>>> this font size tracking wrong, so this seems a good enough solution to that
>>> problem.
>>
>> Yes, I understand the issue and I understand the solution, I'm just
>> wondering why is the font source is modified like that will still being
>> alive. Or in other words, why is the font size is marked as "done" in
>> the int free function instead of finding a more elegant solution.
>
> its unreffed - so it may still be alive and shared/used. do you have a more
> elegant solution at hand?
>
>

Didn't really look into it. Was just asking if she had considered it... 
You have to admit, it looks odd.

--
Tom.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to