Opened 15 years ago
Closed 15 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 , 15 years ago
Status: | new → assigned |
---|---|
Summary: | AGG renderer does not account for spaces at start / end of strings when measuring width → AGG renderer does not account for spaces at end of strings when measuring width |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in trunk with r4573.