Skip to content

Type overprint (Overprint Fill) is neither read from nor written to Illustrator's text document #9769

Backlog

Description

@koolbrand

What happens

Illustrator stores a character's Overprint Fill in its text document as key 59 of the run's style:

(SAMPLE TEXT\r) /6 << /0 [ << /0 << /0 << ... /6 << /0 11 /1 16.0 /59 true /89 16.0 /92 0.0 >> >> >> /1 20 >> ] >>

import/ate/names.rs does not list key 59 (or 60, which I believe is Overprint Stroke; not verified) among the character features the reader looks at, and ai_editing/writer/texts.rs does not write it. So type set to overprint in Illustrator comes in knocking out, and type set to overprint in VectorCraft goes back to Illustrator knocking out.

Steps (synthetic)

  1. Point type "K" in CMYK 0/0/0/100, Overprint Fill on (/59 true), over a rectangle in 0/0/100/0.
  2. Open the file and check attributes.info { target: "contents" }. Then set overprint with attributes.set { overprintFill: true, target: "contents" }, save as .ai and reopen it in Illustrator.

Expected: overprint is on after import. The yellow plate stays solid under the "K" (checked with gs -sDEVICE=tiffsep -dOverprint=/simulate). After the round trip, Illustrator shows Overprint Fill on.

Actual: overprintFill is false after import, and the yellow plate is knocked out under the type. After attributes.set and a save to .ai, Illustrator shows Overprint Fill off. Paths keep their overprint in both directions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions