
Skia has added the ability to register typeface factories so that upon deserialization typefaces can be recreated with the correct typeface implementation. In order to avoid static initializers, it is necessary to set a build flag while building Skia for the built-in factories to be added to the default list. Bug: chromium:1271939 Change-Id: I52cc920be6db63fc2a40983f60125fc888a52b86 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4267071 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Ben Wagner <bungeman@chromium.org> Auto-Submit: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/main@{#1107734}