Opened 14 years ago

Closed 14 years ago

#1261 closed defect (fixed)

AGG renderer does not account for spaces at end of strings when measuring width

Reported by: waltweltonlair Owned by: waltweltonlair
Priority: medium Milestone: 2.3
Component: Rendering Service Version: 2.2.0
Severity: minor Keywords:
Cc: External ID:

Description

While fixing #1260 I noticed that there was no space between the two text runs in my sample string. The first run had a space at the end, but the second run was being drawn directly after the character before the space.

The problem is that AGGRenderer::MeasureString ignores spaces if they appear at the start or end of the string.

Change History (2)

comment:1 by waltweltonlair, 14 years ago

Status: newassigned
Summary: AGG renderer does not account for spaces at start / end of strings when measuring widthAGG renderer does not account for spaces at end of strings when measuring width

comment:2 by waltweltonlair, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk with r4573.

Note: See TracTickets for help on using tickets.