Last modified 16 years ago
Last modified on 02/05/09 15:42:25
Analysis
Overview
- The user should have the ability to change the font that is used to render text content.
- There should be set of fonts available to all the platforms.
- We could use the locale sets of fonts. When a font is used, then its automatically embedded in the current book. That way I can open the book on any platform and view all the fonts correctly.
- If the user imports some resources that have embedded fonts inside of them(.pdf, .swf etc.). We should make sure that they are displayed correctly and are platform independent as much as possible.
Task requirements
- Provide development infrastructure.
- Make a decision on what font formats should be supported, and provide decoder if needed.
- Make available fonts embedding.
Task result
- The result should be code.
Implementation idea
- Since all implementations of the Java 2 platform supports TrueType fonts, we could support only this format. However we may need other font formats to support resource visualization.
Related
TEXT_CHARACTER_FORMAT_COMMONS_R0
TEXT_FONTS_INTERFACE_R0
TEXT_HALO_MENU_R0
DETACHED_TEXT_FRAME_EDITOR_R0
How to demo
- Run the application
- Create a new book and place text frame inside
- Populate some lorem ipsum text inside with a number of paragraphs(lorem ipsum generator --> http://www.lipsum.com/)
- Select part of the text, open character settings hud and change the font.
Design
(Describe your design here.)
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)