wiki:SMOOTH_TEXT_RENDERING_R0

Version 6 (modified by dido, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=SMOOTH_TEXT_RENDERING_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The ability to render text frames without wrapping around objects.

Task requirements

Following functionality should present in the prototype

  • Rotation of the frame without losing the text
  • Zooming the text
  • Resizing the frame - the text should be able to flow inside the frame
  • Moving the text
  • Applying text styles
    • font family - if the font is missing (for example is not embedded in the book) should be converted to an appropriate device font. The following font conversions should be available: mono is converted to _typewriter, sans-serif is converted to _sans, and serif is converted to _serif.
    • font size
    • font style - 'italic' or 'normal'
    • font weight - 'bold' or 'normal'
    • underline
    • strike through
    • text indent
    • line spacing
    • character spacing
    • text align - left, right, center, justified
    • text color
  • Custom anti-alias type and properties for thickness and sharpness.

Task result

  • The result should be code

Implementation idea

(It is advisable to include some rough implementations ideas.)

SCENE_COMMONS?

SCENE_COMMONS_R0

How to demo

  • Start the application
  • Create new book
  • Inside the book create new text frame and type some text (you could use lorem ipsum generator for better result - http://www.lipsum.com/)
  • rotate and scale the text
  • resize the frame
  • apply different style

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)