)]}'
{
  "commit": "1afaa1a380fcd06cec420f3e5b6ec1d2ccb920dc",
  "tree": "11bbd189a1d38e2831f8693411485a713eb1dfe9",
  "parents": [
    "42a1d4662865d8b2f3a6e5d52655e966759f6224"
  ],
  "author": {
    "name": "Ben Wagner",
    "email": "bungeman@chromium.org",
    "time": "Mon Aug 18 14:33:51 2025 -0700"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Aug 18 14:33:51 2025 -0700"
  },
  "message": "Change UseTTCharmapUnicode to prefer MSSymbol\n\nPrior to \"Treat all Unicode character maps like MSUnicode\" [0] only the\ncmap(3,1) (Windows,Unicode BMP) was considered as Unicode. After that\nchange, all Unicode cmaps like cmap(0,*) (Unicode,*) are considered as\nUnicode. This fixes a number of issues with embedded fonts that do not\nhave a cmap(3,1).\n\nHowever, this caused a regression in the case of embedded fonts with\nUnicode cmap that isn\u0027t cmap(3,1) which also have a cmap(3,0)\n(Windows,Symbol). In this case the Unicode cmap is now chosen over the\nSymbol cmap. The Symbol cmap has special rules to augment the cmap as\nwell as special rules around converting to Unicode which will not be\napplied to a Unicode cmap.\n\nThis changes the rule to prefer cmap(3,1) as before, then any other\nUnicode cmap so long as there is no cmap(3,0). This restores the\nprevious behavior while still using Unicode cmaps when they are\navailable.\n\n[0] https://pdfium.googlesource.com/pdfium/+/5da0e90faa40079145dc146f70bf186d3ad5e93f\n\nBug: 438810722, 439629188, 439635779\nChange-Id: I247bb739fcb39b177923a7d4f3821df70dbca4fe\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/135030\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Ben Wagner \u003cbungeman@google.com\u003e\nReviewed-by: Ben Wagner \u003cbungeman@google.com\u003e\n(cherry picked from commit 40111e6fed154aeab93ea26a3e0a691745d13419)\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/135110\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9a98f3be32de91e0b0087922f0af6fcc3e149404",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_font.cpp",
      "new_id": "bd609424487e0776ffac4daffb3fa2e297a2e004",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_font.cpp"
    }
  ]
}
