Fix up cc2dext project
Fixes to cc2dext project.
Fix for dynamic-line-break
- Generating line broken string before measuring drawing bounds.