Changes between Version 1 and Version 2 of TEXT_LAYOUT_COMMONS


Ignore:
Timestamp:
03/04/10 10:21:15 (15 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified TEXT_LAYOUT_COMMONS

    v1 v2  
    88== Overview == 
    99 
     10The current Hot Layout has several important issues: 
     11 * It is not known how will hyphenation be integrated with it; 
     12 * Spell check underlining is not currently possible; 
     13 * Text links cannot have foreground color; 
     14 * Pressing "Tab" inserts 4 spaces, instead of a real tab; 
     15 * Performance issues - Segment layouts could not be cached, which means that their redrawing is very slow. 
    1016 
    1117== Task requirements == 
    1218 
     19 * Modify the layout basics, so that: 
     20  * Tab will be functional; 
     21  * Future features (hyphenation, spell check, links foreground) will be achievable; 
     22  * Performance will not degrade. If possible, it should be improved. 
     23 * In the design section, describe: 
     24  * What changes will be made to the layout mechanism; 
     25  * What causes theses changes, what will the effect be; 
     26 * In the implementation, describe:  
     27  * Implementation idea for hyphenation; 
     28  * Implementation idea for spell check and foreground highlighting. 
    1329 
    1430== Task result == 
    1531 
     32Source code, basics for the tasks mentioned. 
    1633 
    1734== Implementation idea == 
     35Drop TextLayout, LineBreakMeasurer and AttributedCharacterIterator - use Font instead. This will allow deleting of most of the HotSegmentLayout contents. Several utility methods will also be deleted. Hooray :) 
    1836 
    1937 
    2038== Related == 
    2139 
     40[wiki:TEXT_LAYOUT_LAZY]. 
     41 
    2242 
    2343== How to demo == 
    2444 
     45Play around with a text frame - show affine transforms, wrapping modes, chaining, navigation, etc. 
    2546 
    2647= Design =