)]}'
{
  "commit": "2d0e357ddb74625e5cd39738af965ea226e2a6da",
  "tree": "2b4f4d75e33eb2be0eb8d873bf98dfe8b69e42ec",
  "parents": [
    "c38724c0f17bb7bc2d6dc3a336231b03711d6b7f"
  ],
  "author": {
    "name": "Himadri Kakar",
    "email": "hikakar@microsoft.com",
    "time": "Thu Feb 13 09:23:59 2020 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Feb 13 09:23:59 2020 +0000"
  },
  "message": "Fix the rendering of scientific symbols correctly\n\nThe file in the bug contains text which has to be rendered\nin \"Symbol\" font. This font is not embedded in the pdf file.\nWhen rendering call comes for text that corresponds to Symbol font, the\nfont is fetched from the system. Even though symbol font is present on\nthe system, it is not picked up.\n\nCurrently, the font is fetched by following the two steps:\n1. Find whether there is a matching font in the installed fonts on\n   the system. This call returns font face name if found in the list of\n   installed fonts.\n2. Getting the font face for the required font.\n   This call again iterates over all the installed fonts\n   and returns the font face for the best matching font.\n\nFor the case in question:\nIncorrect font whose name is a prefix of desired font is being picked up\ndue to GetSimilarValue() yielding the same result.\n\nTo fix this, check if the family name matches the font facename exactly,\nthen increase |iSimilarValue| by 4.\n\nBug: pdfium:1449\nChange-Id: I23d5c3f5e4f26981fc6a9af2ccd0024c3f9b6102\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/64610\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Himadri Kakar \u003chikakar@microsoft.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2b90c21cb84a53a671e92f1cde37060bd2613c96",
      "old_mode": 33188,
      "old_path": "core/fxge/BUILD.gn",
      "new_id": "f8b7d4e17b96264bf19e9d441bc70af25cc0c56c",
      "new_mode": 33188,
      "new_path": "core/fxge/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "c93b1f0dd82d18fb43663a67df7d25a438b2e39a",
      "old_mode": 33188,
      "old_path": "core/fxge/cfx_folderfontinfo.cpp",
      "new_id": "c0dbcc772e18c96fb4d361f0fb03946f8cc7e387",
      "new_mode": 33188,
      "new_path": "core/fxge/cfx_folderfontinfo.cpp"
    },
    {
      "type": "modify",
      "old_id": "4fd516d4452d1b48f9d2f8f80349e33f20929b80",
      "old_mode": 33188,
      "old_path": "core/fxge/cfx_folderfontinfo.h",
      "new_id": "a8da990458fd3c2d951e280de6ff6cd794257af5",
      "new_mode": 33188,
      "new_path": "core/fxge/cfx_folderfontinfo.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e3626da62412830a14056964fbddaf37db661510",
      "new_mode": 33188,
      "new_path": "core/fxge/cfx_folderfontinfo_unittest.cpp"
    },
    {
      "type": "modify",
      "old_id": "d8e0a2b83dd848b9823e71a84f90dec3a6f5c166",
      "old_mode": 33188,
      "old_path": "testing/SUPPRESSIONS",
      "new_id": "ae9cec0434fe378bb6ea73acb838ad98badc5e12",
      "new_mode": 33188,
      "new_path": "testing/SUPPRESSIONS"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "603eb56c4eebbab380cd4986c4c2ec4eb9cd13ae",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1449.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a9fcdbf6613f0dfaf768e1806a32d75eaac05fdd",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1449_expected.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0a4e2663690d115ce6070ee539477f606737b107",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1449_expected_mac.pdf.0.png"
    }
  ]
}
