Opened 18 years ago
Last modified 13 years ago
#1611 assigned defect
TRUETYPE LABEL/SYMBOL rotated POSITION differs
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | 4.8 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
Rotated LABELS TRUETYPE are placed differently from rotated TRUETYPE SYMBOLS The truetype character (anchor.jpg : anchorpoint indicated with red arrow) The character is to be rotated on the number in item DEGREES 0 -360 Compare : (look at the red/pink triangles in the jpgs) (A LABEL uses TEXT, a SYMBOL TYPE TRUETYPE only CHARACTER) ============================================================================= as a LABEL on_center.jpg | as a TRUETYPE SYMBOL off_center.jpg ============================================================================ LABELITEM "DEGREES" | CLASS CLASS | EXPRESSION ([BEARING] = 2) TEXT "2" | STYLE EXPRESSION ([BEARING] = 2) | SYMBOL "scs2" LABEL | SIZE 14 SIZE 14 | COLOR 0 0 255 POSITION CC | ANGLEITEM "DEGREES" COLOR 0 0 255 | END TYPE TRUETYPE | END FONT scs | ANTIALIAS false | SYMBOL BUFFER 0 | NAME scs2 FORCE true | TYPE TRUETYPE END | FONT scs STYLE | POSITION CC #(or LL or anything) END | ANTIALIAS false END | FILLED true CHARACTER "2" END Rotation of the truetype character as a symbol sweeps around the anchorpoint it seems to me (causing the placement to be off center) POSITION setting has no effect The placement of the LABEL is correct, POSITION setting does have effect:CC places it correctly on the geometry I'll upload the three images hereafter Regards Huub
Attachments (3)
Change History (8)
by , 18 years ago
Attachment: | anchor.jpg added |
---|
by , 18 years ago
Attachment: | off_center.jpg added |
---|
SYMBOLS TYPE TRUETYPE are off center POSITION CC|LL|UR has no effect
comment:1 by , 18 years ago
attachments.description: | SYMBOLS TYPE TRUETYP are off center POSITION CC|LL|UR has no effect → SYMBOLS TYPE TRUETYPE are off center POSITION CC|LL|UR has no effect |
---|
comment:2 by , 18 years ago
attachments.description: | the character → the character, anchorpoint indicated by red arrow |
---|
comment:3 by , 18 years ago
Cc: | added |
---|---|
Component: | WMS Server → MapServer C Library |
Owner: | changed from | to
Summary: | TRUETYPE LABEL/SYMBOL rotated POSITION differs → TRUETYPE LABEL/SYMBOL rotated POSITION differs |
Reassigned to Steve as this is more of a core MapServer issue, and labelling/symbols is his territory.
comment:4 by , 16 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 5.4 release |
Status: | new → assigned |
I didn't even realize this one existed, whoops...
Steve
comment:5 by , 13 years ago
Milestone: | 5.6 release → 6.0 release |
---|
5.4/5.6 are over, moving to 6.0 milestone. Is this still an issue in 6.0?
Note:
See TracTickets
for help on using tickets.
the character, anchorpoint indicated by red arrow