On Sat, 13 Aug 2005 02:16:49 -0400 Jose O Gonzalez <[EMAIL PROTECTED]> babbled:

>       You could make this work by letting such 'layout engines'
> use smart objects and be given as external libs, ie. libs like edje.
>       You'd create, via the particular text format/layout lib, objects
> of whatever format type you want (say text/html), and when a 'string'
> of text is 'set' to a text-format block object, the lib would create
> the needed evas smart object and 'parts' which are evas text objects
> with text/font-face/font-size/color set on such objects as the lib
> choses,
> and with each such part giving the pos it should be rendered at.
> Things like underline/overstrike are extra line objects, etc.
> 
>       This might be a bit slow for top-bottom text and such.
> 
>       The best way to do this would probably be by letting such 'layout
> engines' be "glyph-servers", which would hand evas (from a given
> input string and format type) a sequence of glyph masks plus glyph
> geometry (leading/size/advance) plus color plus other primitive
> elements as needed (lines etc), where the layout engine is then
> responsible for obtaining the correct fonts, glyphs, etc., and also
> for caching these...

i think it's better done within evas as its insanely more efficient. evas is
not tuned to handle very high object counts well. the idea is, as tome goes on
more will be rolled into evas basic objects so things get more efficient.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多                              [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to