[luatex] Adding page resources

Martin Schröder martin at oneiros.de
Wed Aug 6 23:13:33 CEST 2014


2014-08-06 22:24 GMT+02:00 Patrick Gundlach <patrick at gundla.ch>:
> Let's say I have two spot colors A and B, and both are used on page
> 2 and 5 on my 10 pages document. These pages need special
> pageresources such as
>
>   /ColorSpace <<
>     /CS0 1 0 R
>     /CS1 2 0 R
>   >>
>
> Does it harm to add the above colorspace definition to all pages
> even if /CS0 and /CS1 are not used on some of them? Is it just a
> waste of space or do you know of real world applications that
> dislike unnecessary definitions? This would make my life easier...

I suppose it's just a waste of space and they won't do any harm -
unless some application looks at these colorspaces and then somehow
changes its internal state (like Adobe Reader does when it encounters
page groups).

Best
   Martin



More information about the luatex mailing list