Opened 17 years ago
Closed 17 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 |
Description
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 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
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.