[poppler] Splash SPOT_NCOMPS != 4 ?

Albert Astals Cid aacid at kde.org
Thu Sep 3 22:20:07 UTC 2020


El dijous, 27 d’agost de 2020, a les 21:49:33 CEST, Tobias Deiminger va escriure:
> Hi,
> 
> out of curiosity and not important, does anybody know in which case 
> Splashs SPOT_NCOMPS would not be 4?
> 
> Preprocessor directives in splash/SplashTypes.h suggest that SPOT_NCOMPS 
> is intended to be set at compile time, and 4 is just the default value:
> 
> #ifndef SPOT_NCOMPS
> #    define SPOT_NCOMPS 4
> #endif
> 
> There was even a bugfix to handle SPOT_NCOMPS != 4 correctly [0].
> 
> But then I don't see a CMake option or something to define SPOT_NCOMPS 
> in a user friendly way. Who would change it, how, and why?

Who = no idea
Why = no idea

I'm guessing Thomas would know, since he's the one that added the code.

How? pass it as CFLAGS in the cmake call?

Cheers,
  Albert

> 
> Tobias
> 
> 
> [0] 
> https://gitlab.freedesktop.org/poppler/poppler/commit/1750c0155762e75d0a80ab55b50d1bfd172c2430
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler
> 






More information about the poppler mailing list