Hello I use Poppler lib (compiled with USE_CMS) to render several pdf files one by one. I've encountered the following problem. If Poppler renders pdf with ICC-based colorspaces it caches them in the private static cache in GfxICCBasedColorSpace using pdf stream's gen and num as a key. After that (inside the same program call) if it renders next pdf which uses the same gen and num for another colorspace it takes wrong one from the cache. I think it would be better to have something else as a key. For example it can use pdf's ID field along with gen, num pair or some hash of the ICC stream's data. Or some public function to clean the cache might be added. Thanks
The Poppler revision is 0.12.0
Right, i've made the cache live in Gfx, that should fix the problem, thanks a lot for reporting.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.