Index: trunk/parsers/wikidom/demos/surface/README |
— | — | @@ -0,0 +1,8 @@ |
| 2 | +This demo was a proof of concept. It helped guide the design of the EditSurface code, but also |
| 3 | +revealed some dead-ends. |
| 4 | + |
| 5 | +Lessons learned: |
| 6 | +* Browsers apply kerning to text, making it impossible utilize caching when measuring the width of |
| 7 | + rendered text without sacrificing accuracy. |
| 8 | +* Pre-calculating metrics is not critical to the problem, since we flow more often than we request |
| 9 | + metrics for cursor placement or selection painting. |
\ No newline at end of file |