)]}'
{
  "commit": "d89bfea9daf26c73f4bb69e056a62cb2f1d941cf",
  "tree": "82aac125f5f6b0849e0691a2fe3c4ead62be95c7",
  "parents": [
    "bcdac2a1318b898813da55a488e49f2a9e38ad21"
  ],
  "author": {
    "name": "Hui Yingst",
    "email": "nigi@chromium.org",
    "time": "Thu Nov 21 02:17:35 2019 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Nov 21 02:17:35 2019 +0000"
  },
  "message": "Add a test for a non-embedded font with illegal CIDToGIDMap string.\n\nThe PDF Reference, Sixth Edition, specifies that a CIDToGIDMap \"may\nappear only in a Type 2 CIDFont whose associated True Type font\nprogram is embedded in the PDF file\" (Section 5.6, pp 437). But some\nPDFs, which use Type 2 CIDFont, contain CIDToGIDMap as string\n\"Identity\" even when the font is not embedded.\n\nThis CL adds a test case with the incorrect rendering suppressed.\nPDFium is rendering CID \u003c0004\u003e as unicode \u003c0041\u003e (\u0027A\u0027) by looking up\nToUnicode mapping and ignoring the illegal CIDToGIDMap, while the\nexpected result should be \u0027!\u0027 (glyph index \u003d 4) because it follows\nthe rule that when CIDToGIDMap\u0027s value is \"Identity\", glyph index\nshould be the same as charcode.\n\nBug: chromium:1021762\nChange-Id: If9dd2cb8ff03142a39ca86076e72f75f281ec747\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/62593\nCommit-Queue: Hui Yingst \u003cnigi@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cb8b37d3e532ec7847fcd8c935fa970b8a730826",
      "old_mode": 33188,
      "old_path": "testing/SUPPRESSIONS",
      "new_id": "36d4d2b2da8107be2ade593172a33a6667b8af24",
      "new_mode": 33188,
      "new_path": "testing/SUPPRESSIONS"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a8f7be4d98f8e9492563f281093d121e57e701ca",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1021762.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8ba763c2b94ae1cf3396ee018fe3fa11d164a082",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1021762_expected.pdf.0.png"
    }
  ]
}
