Adobe Labs
 
 

cap bottom

Text Layout Framework

Welcome to the beta release of the Text Layout Framework for Adobe® Flash® Player 10 and Adobe AIR® 1.5. The Text Layout Framework is an extensible library, built on the new text engine in Adobe Flash Player 10, which delivers advanced, easy-to-integrate typographic and text layout features for rich, sophisticated and innovative typography on the web. The framework is designed to be used with Adobe Flash CS4 Professional or Adobe Flex®, and is already included in the next version of Flex, code named Gumbo. Developers can use or extend existing components, or use the framework to create their own text components. Source code and component library for TLF are now available as open source at no charge under the Mozilla Public License at www.opensource.adobe.com.

Together with the new text engine in Flash Player 10 and AIR 1.5, the Text Layout Framework delivers multi-lingual, print-quality typography for the web, including support for:

  • Bidirectional text, vertical text and over 30 writing systems including Arabic, Hebrew, Chinese, Japanese, Korean, Thai, Lao, the major writing systems of India, and others
  • Selection, editing and flowing text across multiple columns and linked containers, and around inline images
  • Vertical text, Tate-Chu-Yoko (horizontal within vertical text) and justifier for East Asian typography
  • Rich typographical controls, including kerning, ligatures, typographic case, digit case, digit width and discretionary hyphens
  • Cut, copy, paste, undo and standard keyboard and mouse gestures for editing
  • Rich developer APIs to manipulate text content, layout, markup and create custom text components.

For a complete list of features and more information regarding this beta, please see the release notes. Please help us ensure that the final release of the Text Layout Framework will be of the highest quality by installing and using this beta version and sending us your feedback on the Text Layout Framework forum.

Open Source

The Text Layout Framework is now an open source project.

Visit the Text Layout Framework open source project site

Getting Started

Follow these steps to get started with the Text Layout Framework beta:

  1. Download and Install Flash Player 10 or AIR 1.5.

  2. View the interactive feature demo (above). Source code is available for download from within the demo.
  3. Try the new typographic and text layout functionality in the online Text Layout Editor
  4. See the Product Details section of this page for more information about this release and to review the system requirements and release notes.
  5. Flash CS4 Professional users — Download the Text Layout Flash Component and unzip the contents. Read the Text Layout Component for Flash CS4 Professional Overview, and install the MXP in the zip file. Make a new Actionscript 3.0 file and drag a TextLayout component from the Components panel to the stage. Select the Text Layout panel from the Window/Other Panel menu in Flash CS4 Professional. Download the Text Layout Flash Examples, unzip the contents and check out the Flash CS4, ActionScript and markup code examples.
  6. Flex Gumbo users — Download the open source Flex Gumbo build. The Text Layout Framework libraries are already included in this SDK.  Check out the open source Flex Gumbo text components  built using the Text Layout Framework. Read the Text Layout Framework Overview and see the /Examples directory in the Text Layout Framework  for Flex and ActionScript examples.
  7. Flex 3.2 users — Download the Flex 3.2 milestone build. Download the Text Layout Framework, unzip the contents, and copy textLayout_core.swc, textLayout_edit.swc, and textLayout_conversion.swc from the /libs folder into the Flex SDK frameworks/libs folder. Read the Text Layout Framework Overview and check out the /Examples directory directory in the Text Layout Framework  for Flex and ActionScript examples.
  8. All other developers that wish to build their own text components should download the Text Layout Framework. Read the Text Layout Framework Overview and check out the /Examples directory for Flex, ActionScript and markup examples.
  9. Ask questions and share your feedback in the Text Layout Framework forum

    Please note that your submission of comments, ideas, feature requests and techniques on this and other Adobe maintained forums, as well as Adobe's right to use such materials, is governed by the Terms of Use.

Community

Below you'll find references and links to help you participate in the Text Layout Framework developer community.

Online Forum

Ask questions and discuss ideas with other Text Layout Framework users in the Labs forums.

Please note that your submission of comments, ideas, feature requests and techniques on this and other Adobe maintained forums, as well as Adobe's right to use such materials, is governed by the Terms of Use.

Resources

If you want to learn more about releases on Labs as well as other Adobe technologies, visiting a user group or connecting with an Adobe Community Expert is a great place to start.

Product Details


Documentation

The following documentation is available for the Text Layout Framework release.

FAQ

What is the Text Layout Framework?
The Text Layout Framework is an extensible library, built on the new text engine in Adobe Flash Player 10, which provides new typographic and text layout features for Adobe Flash Player and Adobe AIR. Developers can access the new features through the Text Layout Component for Flash CS4 Professional, Flex Gumbo, or build new components with the framework. The Text Layout Framework enables support for complex scripts, bidirectional text, vertical layout, multi-column layout, inline images, and many other text layout and advanced typographical features.
What is the Text Layout Flash Component?
The Text Layout Flash Component is a proof-of-concept component designed to be used with Flash CS4 Professional, but is not part of the Flash CS4 Professional release. This component is built using the Text Layout Framework. The MXP also provides a Text Layout panel UI which can be used to visually layout text and access advanced typographic features. We created this UI to test the Text Layout Framework, and it is not in final form. The UI is not intended to indicate any eventual UI within Flash CS4 Professional or future releases.
What languages does the Text Layout Framework support?
The Text Layout Framework supports over 30 writing scripts, including: Latin (English, Spanish, French, German, Vietnamese etc.), Greek, Cyrillic, Armenian, Georgian, Ethiopic, Tifinagh, Yi, Cherokee, Canadian Syllabics, Deseret, Shavian, Vai, Tagalog, Hanunoo, Buhid, Tagbanwa, Hebrew, Arabic, Thai, Lao, Khmer, Han ideographs and Kana (Chinese, Japanese, Korean), Hangul Johab (Korean), Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Thaana, and Tibetan.
Do I have to use Flash CS4 Professional or Flex to use the Text Layout Framework?
No, the Text Layout Framework is written in ActionScript 3.0 and does not have a specific dependency on Flash CS4 Professional, Flex or any other framework. You do need Flash Player 10 or AIR 1.5 to view content that uses the Text Layout Framework.
Can I use the Text Layout Framework in Flash CS4 Professional without using the Text Layout Flash component?
Yes, you can manually configure Flash CS4 Professional to use the SWCs from the /libs folder in the Text Layout Framework ZIP file.
Can I use the Text Layout Framework in Flex 3.0?
No, the The Text Layout Framework works with Flash Player 10 or AIR 1.5 which is not supported by Flex 3.0. You can use the framework with Flex 3.2 or Flex Gumbo which support Flash Player 10 and AIR 1.5.
Has the Flash Player TextField been deprecated?
No, TextField is unchanged by the introduction of Text Layout Framework and continues to be available in Flash Player 10 and AIR 1.5. New features and functionality are provided by the new text engine and the Text Layout Framework. There are no current plans to modify TextField moving forward.

See the FAQ for the open source Text Layout Framework project

System Requirements

The Text Layout Framework has been tested with Adobe Flash Player 10 and AIR 1.5. General system requirements for Flash Player are available on Adobe.com. General system requirements for AIR are available on Adobe.com.

The Text Layout Framework has not been fully tested with Linux builds at this time. We recommend that you test the Text Layout Framework only on the Macintosh or Windows platforms.

The Text Layout Framework Flash component will run within Flash CS4 Professional for the Macintosh and Windows platforms. Please refer to the Flash CS4 Professional system requirements for more information on the minimum system requirements.

On Windows® Vista® you need to run the Text Layout Flash Component MXP installer with administrator privileges.

See the release notes for the complete system requirements and known issues with the supported systems for the Text Layout Framework.

Release Notes

This release of the Text Layout Framework is prerelease software and is designed for evaluation purposes only. The software contained within the downloads is not final; but, many portions of the technology are fully implemented and ready for you to try and discuss.

The release notes document known issues related to the beta versions of the Text Layout Framework and the Text Layout Flash component.

See the complete Text Layout Framework beta release notes

Text Layout Framework

All Technologies

Technology Groups

Showcase Gallery