)]}'
{
  "commit": "df60f7f4c1c22f903850822d4e58cc2eefdffd07",
  "tree": "14d8d60b55c0fce05d672d7724277ddec4b783cf",
  "parents": [
    "074387f08eebc377a8e79e717987bb03241caf41"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Fri Feb 23 18:26:10 2024 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Feb 23 18:26:10 2024 +0000"
  },
  "message": "Fix incorrect matrix outputs in CPDF_PageContentGenerator\n\nWhen CPDF_PageContentGenerator generates content stream data for a page\nobject, it currently does not take the object\u0027s container\u0027s current\ntransformation matrix into account. As a result, the generated output\neffectively has the CTM applied twice for page objects whose CTM is not\nthe identity matrix, as shown in recently added PDFEditImgTest cases.\n\nChange CPDF_PageContentGenerator to take the CTM into account for images\nand forms. Then update the related PDFEditImgTest cases so they pass\nwith the expected results. Add TODOs for CPDF_PageContentGenerator\nmethods that process text and paths, as there are no associated tests\nfor those.\n\nAlong the way, use more local matrix variables to avoid repeated calls\nto getters.\n\nBug: pdfium:2132\nChange-Id: I8d4c783ddee5c44dfeca32ec5575d228572e2417\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/116933\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nReviewed-by: Thomas Sepez \u003ctsepez@google.com\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "617891cfeec51e851783cf76c2f8ff41255680f9",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp",
      "new_id": "c427478d8f993f1421f72cea633807e7eb011703",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp"
    },
    {
      "type": "modify",
      "old_id": "c06d4951e290edf7abe6d94e45b97557b75cc3e2",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_editimg_embeddertest.cpp",
      "new_id": "d16cef3e1c77613674d53e0d46f671869a1acf54",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_editimg_embeddertest.cpp"
    }
  ]
}
