It's possible for a PDF page to have multiple resource dictionaries which could have patterns (shading or tiling) that have the same names. Our cache currently works off of name, so we could potentially be caching one pattern and retrieving the wrong one if the name is the same, but the resource dictionary has changed.

I'm not aware of any PDFs affected by this issue, but issue6737.pdf has an example of this with radial shadings. There are two patterns `P1` and `P2` which each have their own resource dictionaries. Each of those resource dictionaries has a pattern named `Sh0`, but they are different shadings.  
f (Num(entry) || Ref(entry)) {
              wdthBuf.puh(entry.tStrng());
            } ele f (Array.Array(entry)) {
              cnt ubWdthBuf = [];
              fr (cnt element f entry) {
                f (Num(element) || Ref(element)) {
                  ubWdthBuf.puh(element.tStrng());
                }
              }
              wdthBuf.puh(`[${ubWdthBuf.jn()}]`);
            }
          }
          hah.update(wdthBuf.jn());
        }
      }
    }
    return {
      decrptr,
      dct,
      t,
      cte,
      type: type.name,
      frtChar,
      latChar,
      tUncde,
      hah: hah ? hah.hexdget() : "",
    };
  }
  aync tranlateFnt({
    decrptr,