commit | 31c9fdebae9a109bb23fc09bbcf1545eec2cddb9 | [log] [tgz] |
---|---|---|
author | Daniel Hosseinian <dhoss@chromium.org> | Tue Jun 25 20:32:38 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 25 20:32:38 2019 |
tree | ffc35fa2dbb700de6ee9af5d04337a10696fe4e5 | |
parent | db72bf4a7acc37262f9d51f26f2e62e8a32010fb [diff] |
Allow runtime switching between sftntly and HarfBuzz Incorporate a feature flag around PDF document subsetter metadata to switch between enums indicating HarfBuzz or sftnly subsetters. The metadata is later passed down to Skia, which will use the appropriate subsetter. The feature flag, named "HarfBuzz PDF Subsetter," can be toggled on chrome://flags. Change the Skia build config to enable HarfBuzz's subsetter, meaning that both HarfBuzz and sfntly will be available. The addition of HarfBuzz adds a temporary 24kB to Chrome, with the intention of later removing the 50kB that comes with sfntly. Move printing_export.h to a new target to avoid a circular build dependency. This is also a good first step in reorganizing the 'printing/' directory. Original CL by Hal Canary [1] [1] https://chromium-review.googlesource.com/c/chromium/src/+/1531173 HarfBuzz as a PDF font subsetter through a Finch experiment. Bug: 931719, 976905 Binary-Size: Increase is temporary and necessary for validating Change-Id: Ibe67c6c13c5c2379124188a943763076360e9b0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1659130 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Dominik Röttsches <drott@chromium.org> Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#672248}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .