Ticket #1701 (closed bug: fixed)

Opened 16 years ago

Last modified 16 years ago

TLID:784 Text doesn' lay out properly with some fonts and sizes

Reported by: deyan Owned by: vlado
Priority: major Milestone:
Component: TEXT_RENDERING Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: Add Hours to Ticket:
Billable?: Total Hours:
Analysis_owners: vlado Design_owners:
Imp._owners: Test_owners:
Analysis_reviewers: Changelog:
Design_reviewers: Imp._reviewers:
Test_reviewers: deyan Analysis_score: 0
Design_score: 0 Imp._score: 0
Test_score: 3.5

Description

Testlink 784
Steps Expected Results

Prerequestiques:

  1. Open Sophie. Create a new book

Steps:

  1. Insert a text frame
  1. Type in "Some words"
  1. Open text halo and select Font "Monospaced" and Size "16"





  1. A text frame is inserted
  1. The text is laid out
  1. The text is laid out with the new font and size.

Change History

comment:1 Changed 16 years ago by vlado

  • Owner changed from vlado, nenko to vlado
  • Status changed from new to s1a_analysis_started

comment:2 Changed 16 years ago by vlado

  • Status changed from s1a_analysis_started to s1b_analysis_finished
  • Analysis_owners set to vlado

Layout algorithm is not correcting the base point of first line characters.
Thus, when the ascent is bigger (because of the font size) the y coordinate of the characters is negative and they do not fit into the area. This leads to failure of the algorithm.
The bug is fixed in [3373] to modify the base point of first line characters according to ascent.

comment:3 Changed 16 years ago by meddle

  • Status changed from s1b_analysis_finished to closed
  • Resolution set to fixed

It's fixed... Better fix was send to the trunk with the implementation of WRAPPING_TEXT_RENDERING_R1.

comment:4 Changed 16 years ago by deyan

  • Summary changed from Text doesn' lay out properly with some fonts and sizes to TLID:784 Text doesn' lay out properly with some fonts and sizes

comment:5 Changed 16 years ago by deyan

  • Cc vlado, nenko, meddle removed
  • Test_score changed from 0 to 3.5

comment:6 Changed 16 years ago by deyan

  • Test_reviewers set to deyan
Note: See TracTickets for help on using tickets.