-
Dominik Röttsches authored
r572930 moved FontConfig out of process access from a global file descriptor to Mojo messages. In one instance, PepperFlashFontFileHost, an IPC performing FontConfig method was replaced with one that tries to access FontConfig inside the sandboxed process, which fails. The mimehandler process needs access to FontConfig as well for providing fonts matching to PDFium. This CL fixes mimehandler out of process font access and moves back to using the MatchFontWithFallback FontConfig logic which was previously used in this file, before it was moved to using Skia font matching like on Windows. This implies that on Linux additional font fallback logic is used again, which finds replacements for non-existing fonts such as SimSun. Bug: 862051 Change-Id: I67136d51b45f72db0ae74201353369e34885f2ef Reviewed-on: https://chromium-review.googlesource.com/1131938 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#574119}
0dc678ff