Bug 688807 pointed out that jasper only supports the jp2 subset of the JPEG 2000 standard, while PDF requires support for the "JPX baseline" superset, plus enumerated colour space 12 (CMYK) and excepting enumcs 19 (CIEJab). Jasper needs to be extended to support the required jpx features, with ICC and CMYK color spaces being the most important.
All required enumerated color spaces are now supported.