)]}'
{
  "commit": "9b8ac25af8da61c8a81e0162c39a85eed2cc38dc",
  "tree": "f0b4886b00609c2b3a9dcbe67f959f52213248cc",
  "parents": [
    "5adcad9d30f98aa4d53f6af087523034617b2394"
  ],
  "author": {
    "name": "Nico Weber",
    "email": "thakis@chromium.org",
    "time": "Thu Nov 23 02:05:21 2023 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Nov 23 02:05:21 2023 +0000"
  },
  "message": "Simplify PDF_DecodeText() and new helper functions\n\nI kept the code as-is when moving it. Now that it\u0027s moved and untangled,\nwe can simplify the code a bit.\n\nEvery modified function is supposed to have exactly the same behavior\nas it had before this change. They no longer write to a `uint16_t`\ntemporary, so they no longer truncate characters to 16-bits, but\nthe caller only passed in 16-bit data in both cases, so no effective\nbehavior change.\n\n(A future change will call StripLanguageCodes() with the output of\nan UTF-8 decoder, which can pass 32-bit characters. For that future\nuse-case, the change is a progression.)\n\nBug: pdfium:2101\nChange-Id: If56afbadb8282b042f4411a5d1930543c67a197b\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/113810\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Nico Weber \u003cthakis@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "78b81c19ff903cb9c3f6c0655eb2f04fb369e362",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/parser/fpdf_parser_decode.cpp",
      "new_id": "47b5e43da921a7b56407d3bd6810876a975a0e74",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/parser/fpdf_parser_decode.cpp"
    }
  ]
}
