pdf-issues icon indicating copy to clipboard operation
pdf-issues copied to clipboard

8.4.5 (Graphics state parameter dictionaries, aka ExtGState): extend to full superset of parameters associated to individual operators

Open stechio opened this issue 1 year ago • 2 comments

Within the graphics state model, the dictionary associated to the gs operator (ExtGState) supports only a subset (Font entry corresponding to Tf operator) of the text state parameters associated to individual operators (see 9.3, "Text state parameters and operators"); since text state operators can be applied at content stream level (see Figure 9, "Graphics objects" in 8.2, "Graphics objects") like any other graphics state operator, it looks pretty weird that such parameters are excluded from ExtGState.

Moreover, it would be convenient to include in ExtGState any other appropriate graphics state parameter associated to individual operators, such as colour-related ones (color space, color — see Table 51), as well.

PROPOSAL

My proposal is to extend ExtGState dictionary to support any appropriate graphics state parameter, in particular:

  • all the text state parameters associated to the operators listed in Table 103
  • all the colour state parameters listed in Table 51 (color space, color)

NOTE: The initial comment was updated to include any appropriate graphics state parameter, in particular colour-related ones.

stechio avatar Dec 03 '23 15:12 stechio