Opened 12 years ago

Closed 12 years ago

#395 closed defect (fixed)

Symbolization: MText parser swaps Red and Blue

Reported by: louisewatson Owned by: louisewatson
Priority: medium Milestone: 2.0
Component: Rendering Service Version: 2.0.0
Severity: major Keywords:
Cc: External ID: 1034510


The \c op-code of the mtext parser is taking red from the high bits and blue from the low bits. This is backwards. \c op-codes should be formatted as BGR.

Change History (2)

comment:1 Changed 12 years ago by louisewatson

Owner: changed from Louise Watson to louisewatson
Status: newassigned

comment:2 Changed 12 years ago by louisewatson

Resolution: fixed
Status: assignedclosed

The fix was in MTextParseInstance::Parse_c. Red and Blue are swapped before the color is passed to ATOM. ATOM always returns colors in RGB format.

Note: See TracTickets for help on using tickets.