)]}'
{
  "commit": "24a4746f1a4862b3eb86103e555ee5e9bc831a11",
  "tree": "8ba16adf3e51cc7c915bdf0dd5143ae2bc2a2fed",
  "parents": [
    "2735294c046940a8c852ef7be7a3d5e9634cbce9"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Mon Mar 21 19:02:00 2022 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Mar 21 19:02:00 2022 +0000"
  },
  "message": "Fix rendering of text annotations with custom fonts.\n\nWhen https://pdfium-review.googlesource.com/91290 fixed a bug with\nannotations, it introduced another. Now CPDFSDK_AppStream creates a new\nstream, but the new stream is missing resources. Fix this by copying the\nresources from the original stream.\n\nAdd a pixel test to illustrate this issue.\n\nBug: chromium:1308739\nChange-Id: I756d72e96e79025f78e52a6f2cf2b1142bce6ea1\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/91670\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2edbc21d5dc1714f9b5265a62c370777a9999353",
      "old_mode": 33188,
      "old_path": "fpdfsdk/cpdfsdk_appstream.cpp",
      "new_id": "e3492053387f1d99ac328d98584f6047b9c8a2ad",
      "new_mode": 33188,
      "new_path": "fpdfsdk/cpdfsdk_appstream.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "af404e49778e9dfe497a90ab9fba13212701ce5a",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/text_form_custom_font.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3894ad5006bbc02f05044a52d1a076708bff4d5b",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/text_form_custom_font_expected.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "01b3dbfee9f3e2e60e55f1b281d32881f6f60d16",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/text_form_custom_font_expected_mac.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5f898f8e1ae84145d0ca220529af14798867c91d",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/text_form_custom_font_expected_skia.pdf.0.png"
    }
  ]
}
